ir-puck
Dependencies: IRSender Puck mbed
Fork of ir-puck by
Revision 8:260888851644, committed 2014-07-23
- 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),