TinyZero BLE Codebender

vpete · 3 · 3368

vpete

  • Jr. Member
  • **
    • Posts: 5
    • View Profile
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!


Ben Rose

  • Administrator
  • Hero Member
  • *****
    • Posts: 392
    • View Profile
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


vpete

  • Jr. Member
  • **
    • Posts: 5
    • View Profile
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.


 

SMF spam blocked by CleanTalk