1
TinyDuino Processors & TinyShields / BLE Board sample code
« on: September 14, 2013, 11:54:03 PM »
Hi, I've followed the code on https://github.com/jrowberg/bglib/tree/master/Arduino
However, it seems like the ble shield is not responding to the commands. I'm wondering if there is any difference for Tinyduino especially in the pin numbers:
SoftwareSerial bleSerialPort(2, 3); // RX, TX
BGLib ble112((HardwareSerial *)&bleSerialPort, 0, 1);
#define LED_PIN 13 // Arduino Uno LED
#define BLE_WAKEUP_PIN 5 // Assuming digital pin 5 is connected to BLE wake-up pin (P1_6 in my firmware)
I'm really new to programming on arduino and any help would be greatly appreciated. Thanks!
However, it seems like the ble shield is not responding to the commands. I'm wondering if there is any difference for Tinyduino especially in the pin numbers:
SoftwareSerial bleSerialPort(2, 3); // RX, TX
BGLib ble112((HardwareSerial *)&bleSerialPort, 0, 1);
#define LED_PIN 13 // Arduino Uno LED
#define BLE_WAKEUP_PIN 5 // Assuming digital pin 5 is connected to BLE wake-up pin (P1_6 in my firmware)
I'm really new to programming on arduino and any help would be greatly appreciated. Thanks!