TinyCircuit Bluetooth Sample Code UART

Started by linghu258, November 21, 2019, 10:30:34 AM

Previous topic - Next topic

linghu258

*
Newbie
Posts: 2
Logged
Hi,

I was trying out the sample code for the bluetooth connection to the UART phone app, and when I tried uploading the code to the board, I received this error "warning: integer overflow in expression [-Woverflow]"
                                  (ADV_INTERVAL_MIN_MS * 1000) / 625, (ADV_INTERVAL_MAX_MS * 1000) / 625,

Any help on how to fix this ?

lennevia

Administrator
*****
Hero Member
Posts: 437
Logged
Hello,

I used a TinyScreen+ and STBLE TinyShield to test the example included on this Learn Page: https://learn.tinycircuits.com/Communication/Bluetooth-Low-Energy_TinyShield_Tutorial/

and I did not encounter the same error.

Can you tell me more about what hardware you are using, and what you have selected under the Tools menu in the Arduino IDE?

Thank you,

Laveréna

SMF spam blocked by CleanTalk