The IR Puck can mimic arbitrary infrared remote controls. Built on the Puck IOT platform.

Dependencies:   Puck IRSender mbed

The IR Puck is a puck that can mimic arbitrary infrared remote controls. This is useful for controlling things like TVs, radios, airconditioners, window blinds, and just about anything and everything that can be otherwise be controlled by a regular remote control.

A tutorial for the IR Puck is available on GitHub.

Tutorials and in-depth documentation for the Puck platform is available at the project's GitHub page

Revision:
8:260888851644
Parent:
5:3642c0af497e
Child:
10:35d78d589580
--- a/main.cpp	Wed Jul 23 14:11:43 2014 +0000
+++ b/main.cpp	Wed Jul 23 14:20:06 2014 +0000
@@ -16,6 +16,7 @@
 
 
 void onIRCodeWrite(uint8_t* value) {
+    puck->getBle().disconnect();
     LOG_INFO("Going to fire IR code...\n");
     fireIRCode(puck->getCharacteristicValue(HEADER_UUID),
                puck->getCharacteristicValue(ONE_UUID),