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

Files at this revision

API Documentation at this revision

Comitter:
stiaje
Date:
Wed Jul 23 14:20:06 2014 +0000
Parent:
7:afb7a62cbff7
Child:
9:447b8e997426
Commit message:
Disconnect ble before firing IR code

Changed in this revision

Puck.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Puck.lib	Wed Jul 23 14:11:43 2014 +0000
+++ b/Puck.lib	Wed Jul 23 14:20:06 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/teams/Nordic-Pucks/code/Puck/#5432b38585ea
+http://mbed.org/teams/Nordic-Pucks/code/Puck/#2f2a2ac6b231
--- 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),