Skip to content

Instantly share code, notes, and snippets.

@jenschr
Created September 2, 2016 15:17
Embed
What would you like to do?
Working Makeblock IR example for mBot
#include <MeMCore.h>
MeIR ir;
void setup() {
Serial.begin(9600);
}
void loop() {
if (ir.decode())
{
uint32_t value = ir.value;
Serial.print("0x");
Serial.println(value,HEX);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment