TinyCircuit Bluetooth Sample Code UART


  • Newbie
  • *
    • Posts: 2
    • View Profile

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 ?


  • Administrator
  • Hero Member
  • *****
    • Posts: 437
    • View Profile

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,



SMF spam blocked by CleanTalk