Driver for Me IR module.
More...
Driver for Me IR module.
- Author
- MakeBlock
- Version
- V1.0.4
- Date
- 2015/11/16
- Copyright
- This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
conditions. The main licensing options available are GPL V2 or Commercial:
- Open Source Licensing GPL V2
- This is the appropriate option if you want to share the source code of your
application with everyone you distribute it to, and you also want to give them
the right to share who uses it. If you wish to use this software under Open
Source Licensing, you must contribute all your source code to the open source
community in accordance with the GPL Version 2 when your application is
distributed. See http://www.gnu.org/copyleft/gpl.html
- Description
- This file is a drive for Me IR device, The IR inherited the MeSerial class from SoftwareSerial.
- Method List:
- ErrorStatus MeIR::decode();
- void MeIR::begin();
- void MeIR::end();
- void MeIR::loop();
- boolean MeIR::keyPressed(unsigned char r);
- String MeIR::getString();
- unsigned char MeIR::getCode()
- void MeIR::sendString(String s);
- void MeIR::sendString(float v);
- void MeIR::sendNEC(unsigned long data, int nbits);
- void MeIR::sendRaw(unsigned int buf[], int len, uint8_t hz);
- void MeIR::enableIROut(uint8_t khz);
- void MeIR::enableIRIn();
- void MeIR::mark(uint16_t us);
- void MeIR::space(uint16_t us);
- History:
`<Author>` `<Time>` `<Version>` `<Descr>`
Mark Yan 2015/10/09 1.0.0 Bulid the new.
Mark Yan 2015/10/29 1.0.1 Fix minor errors on format.
Mark Yan 2015/11/02 1.0.2 Fix bug that IRsend and IRreceive can't work at the same time.
forfish 2015/11/09 1.0.3 Add description.
Mark Yan 2015/11/16 1.0.4 add data recovery when timeout.
Nick b 2023/12/05 1.0.5 Added an ignore define to allow the IR to be disabled.