MakeBlock Drive Updated
Updated library for MakeBlock Ranger
Loading...
Searching...
No Matches
MeIR.cpp File Reference

Driver for Me IR module. More...

Detailed Description

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:
  1. ErrorStatus MeIR::decode();
  2. void MeIR::begin();
  3. void MeIR::end();
  4. void MeIR::loop();
  5. boolean MeIR::keyPressed(unsigned char r);
  6. String MeIR::getString();
  7. unsigned char MeIR::getCode()
  8. void MeIR::sendString(String s);
  9. void MeIR::sendString(float v);
  10. void MeIR::sendNEC(unsigned long data, int nbits);
  11. void MeIR::sendRaw(unsigned int buf[], int len, uint8_t hz);
  12. void MeIR::enableIROut(uint8_t khz);
  13. void MeIR::enableIRIn();
  14. void MeIR::mark(uint16_t us);
  15. 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.