TinyCircuits

TinyCircuit Bluetooth Sample Code UART

TinyCircuit Bluetooth Sample Code UART
« on: November 21, 2019, 10:30:34 AM »
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 ?

Re: TinyCircuit Bluetooth Sample Code UART
« Reply #1 on: January 13, 2020, 01:10:28 PM »
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