Problem sending numbers uint64_t
Thank you for the excellent code! BLE on arduino can be such a a hassle, this makes it better.
I am having some issues sending numbers. In particular I am using uint_64.
To replicate the error it should be enough to insert at any point bleSerial.println((uint64_t)millis());
I used the provided echo example and inserted it after the print line. What I see on the console is lu, regardless of the value.
I am using Bluefruit Connect on iOS. The board is Arduino MKR 1010WiFi.
I solved using:
char buffer[20];
sprintf(buffer,"%d",millis());
bleSerial.println(buffer);
Have the same problem, wanted to send an int i, did this for the fix: char iChar = String(i)[0]; bleSerial.print(iChar)
Have the same problem, wanted to send an int i, did this for the fix: char iChar = String(i)[0]; bleSerial.print(iChar);