Threads, Android and Problems
in
Android Processing
•
1 year ago
Hi everybody from Tarragona(Spain)
:
I have a scketch, this scketch uses two threads: the first thread draw every 5ms a line and the second thread recibe every 250ms a array of 50 values by bluetooth connection. These 50 values are the coordenates for draw the lines (plots). The code work fine and plot very well....but...there are a problem...when I try draw the signal and print the values of the array at the same time...the numbers changes the color...(to the color of the plot signal), but no change all the time isn't constant.....
My scketch work under android....Thank you very much!
I have a scketch, this scketch uses two threads: the first thread draw every 5ms a line and the second thread recibe every 250ms a array of 50 values by bluetooth connection. These 50 values are the coordenates for draw the lines (plots). The code work fine and plot very well....but...there are a problem...when I try draw the signal and print the values of the array at the same time...the numbers changes the color...(to the color of the plot signal), but no change all the time isn't constant.....
My scketch work under android....Thank you very much!