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 12:a7d9b4f303fd, committed 2014-08-01
- Comitter:
- stiaje
- Date:
- Fri Aug 01 08:04:08 2014 +0000
- Parent:
- 11:822dbdcee1bb
- Child:
- 15:cf6c517f31ad
- Commit message:
- Changes to support newest revision of the Puck library
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 Thu Jul 24 12:34:11 2014 +0000 +++ b/Puck.lib Fri Aug 01 08:04:08 2014 +0000 @@ -1,1 +1,1 @@ -https://mbed.org/teams/Nordic-Pucks/code/Puck/#c07c01c2a741 +https://mbed.org/teams/Nordic-Pucks/code/Puck/#e620c41de9c3
--- a/main.cpp Thu Jul 24 12:34:11 2014 +0000 +++ b/main.cpp Fri Aug 01 08:04:08 2014 +0000 @@ -37,6 +37,6 @@ puck->addCharacteristic(IR_SERVICE_UUID, PREDATA_UUID, 2); puck->addCharacteristic(IR_SERVICE_UUID, CODE_UUID, 2); puck->init(0xABBA); - puck->onCharacteristicWrite(CODE_UUID, onIRCodeWrite); + puck->onCharacteristicWrite(&CODE_UUID, onIRCodeWrite); while (puck->drive()); } \ No newline at end of file