display result from rs232
I would like to display the value of the serial port, and after pressing the button all the values stored and sent to the e-mail.
I have a couple of requests:
as Atmel sends data from its inputs (8 analog inputs) in the four fields to show the difference (a0-a1, a2-a3, a4-a5, a6-a7), the value of the input serial port is a data packet from 10 bytes, the first start byte, then go a0 (range 0-1024), a1 .... a7, and last is stop byte.
I want to learn how to do it, I think it's easiest if you get a java file, so that they can change and learn.
thanks a lot