As for the Atmel program, Hyperterminal to the rescue! I now have a program that just copys back whatever is sent over the serial line. I just modified the example uart program from winavr that writes to the LCD and to the uart (I don't have an LCD hooked up at the moment). Java app seems to send data fine to the serial port and read it back, even if it is chopped up in 8 byte segments.
Going to work on sending a square wave and triangle wave and just streaming them from the Atmega 16 (based off of a button press? or maybe a command from the java program over the serial port) and graphing the streamed data from the MCU. Not sure what type of data we will need to stream yet, but will probably write some utils to put 16 and 32 bit values on the line in addition to the 8 bits I am currently streaming.
No comments:
Post a Comment