TinyCircuit Bluetooth Sample Code UART

linghu258

  • Newbie
  • *
    • Posts: 2
    • View Profile
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
  • Sr. Member
  • *****
    • Posts: 94
    • View Profile
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