1
TinyDuino Processors & TinyShields / Re: BLE Board sample code
« on: March 26, 2014, 06:21:56 PM »
also a newbie, to the extent that i'm even unsure as to which of these applies to the TD BT LE,
THIS SCRIPT WILL NOT COMMUNICATE PROPERLY IF YOU DO NOT ENSURE ONE OF THE
FOLLOWING IS TRUE:
1. You enable the <wakeup_pin> functionality in your firmware
2. You COMMENT OUT the two lines 128 and 129 below which depend on wake-up
funcitonality to work properly (they will BLOCK otherwise):
ble112.onBeforeTXCommand = onBeforeTXCommand;
ble112.onTXCommandComplete = onTXCommandComplete;
https://github.com/jrowberg/bglib/blob/master/Arduino/Examples/BGLib_stub_slave/BGLib_stub_slave.ino
THIS SCRIPT WILL NOT COMMUNICATE PROPERLY IF YOU DO NOT ENSURE ONE OF THE
FOLLOWING IS TRUE:
1. You enable the <wakeup_pin> functionality in your firmware
2. You COMMENT OUT the two lines 128 and 129 below which depend on wake-up
funcitonality to work properly (they will BLOCK otherwise):
ble112.onBeforeTXCommand = onBeforeTXCommand;
ble112.onTXCommandComplete = onTXCommandComplete;
https://github.com/jrowberg/bglib/blob/master/Arduino/Examples/BGLib_stub_slave/BGLib_stub_slave.ino