Microprocessor to RS-232 realtime plot using PySerial/Matplotlib?
问题 I'm new to the world of Python and my programming skills are fairly poor but I'm trying to figure a way to use Python to display the output from an EEG circuit (using the OpenEEG circuit http://openeeg.sourceforge.net) The analogue output is amplified and processed via an ADC (in an ATmega8 microcontroller) and is converted to RS232 by a MAX232. The RS232 Signal is as follows: Byte 1: sync value 0xa5 Byte 2: sync value 0x5a Byte 3: version Byte 4: Frame number Byte 5: Channel 1 Low Byte Byte