I have a quick question, I have made a loop on the PIC side sending from 0 to 255 to the SERIAL COM port, and make a GUI on the Processing side to change the color depending on the number coming thru.
Do anyone have a idea how to do that? because the code I wrote on the Processing side doesnt change the colour using FILL()...
I have a question, how can I set up the Processing that I dont have to set up which COMM PORT I have to read. Just make it like, every time a new COMM port is connected then uses that one. Let say in my computer I have COM1 COM2 COM3 and when I connect the new device then it will become COM4. I want the processing take that new COM and use that one for our program in Processing.
If anyone who has the code for that I will appreciate.
I have 16 boxes in 4x4 configuration. I want to get reading from a Serial Port (COM) and update the color of each box. Let say, my PIC16F73 will send 16 BYTE (8bit each one) and then store in a buffer then once the buffer is completed by loading those 16 BYTES then they will show up on the screen depending of each byte which will correspond to each color from 0 to 255. I want to change only the color from white to black let say the transition in the middle will become gray. Example: the input is 125 that number will become grey at that moment and so on... The range will be black to white or viceversa.