I'm attempting to build a remote controller app. It will only send data over bluetooth and not receive. The gui will set a global byte to '00000000' when there is no control input. This byte does not need to be sent over the bluetooth connection. The gui will set the byte to something else when there is input. The gui event sets the byte and the event can be used to send the byte one time to the bluetooth connection. I am attempting to use a 'Clock timer' to repeatedly send the value to the bluetooth connection. Every 20 millis would be great. I can only get my app to send at about every 1 second. I calculate a difference between 'current_millis' and 'prior_millis' and compare the difference to a 'delay_mills' but I cannot get the bluetooth message frequency to change.
Anybody see what I'm doing wrong?
How do I provide a copy of the entire app for this group to examine.