Hello MIT App Inventor Forum,
I am currently using a slider in a project. I watched several videos and combined many different techniques to display the value of the slider on the screen just below the slider. I then tried to transmit the value over Bluetooth to an Arduino Pro Mini.
Bluetooth transmission and reception seem to work very well. The issue is when I place my finger on the slider and remove my finger from the slider. Almost as I have button debounce.
I have created code in MIT App Inventor to address 1 digit, 2 digit, and 3 digit numbers. But when the Arduino receives the values, I sometimes lose one or more digits. I can see this on the Arduino IDE Serial monitor using Serial.print() commands. So the performance is a bit "flaky".
The baud rate is 9600 on both the serial monitor and the Bluetooth connection. Maybe I need to increase the baud rate of the HC-06 Bluetooth module that I am using??? I do execute the Serial.print() commands to the Arduino serial monitor only AFTER I receive a stream of data, so i am not really sure whether or not the serial monitor is creating a disruption.
TIA,
Neal