TinyCircuits

TinyZero BLE Codebender

TinyZero BLE Codebender
« on: January 19, 2019, 08:26:43 PM »
Hi, hoping to get some confirmation on whether this code is valid for the TinyZero - https://codebender.cc/sketch:91073#TinyShield_NRF8001_BLE_Example.ino

It notes that it 'Now supports TinyScreen+/SAMD21 boards'. When selecting the board in codebender, I am using TinyDuino, since TinyZero is not an option, and getting an error 'Out of sync'.

Thank you!

Re: TinyZero BLE Codebender
« Reply #1 on: January 28, 2019, 01:48:21 PM »
Sorry- this is confusing. It's the code itself that should support TinyZero, codebender is still AVR based boards only(TinyDuino). For TinyZero you will have to download the code and use the Arduino IDE. We're starting to removed codebender links from tutorials etc to help avoid this issue- it doesn't seem like codebender or Arduino Create will support third party ARM boards.

Thanks,
Ben

Re: TinyZero BLE Codebender
« Reply #2 on: January 30, 2019, 10:51:31 PM »
Thanks Ben! I have also tried to use it in the Arduino IDE following this comment:
//when using this project in the Arduino IDE, set the following to false and rename file UART.h to UART.ino
Code: [Select]
#define CODEBENDER falseAlso uncommented this line:
 
Code: [Select]
while (!SerialMonitorInterface);//Optional- On TinyScreen+/SAMD21 boards this will block until the serial monitor is opened
But nothing shows on the serial monitor, even after waiting several minutes. Just wondering if there is anything else that needs to be done for the code to operate on the TinyZero.