I am back on to my uart program.
I have attached a script called “uarttest.py”.
I am sending a single character , ‘v’, from a dsPIC u_processor UART at 9600 baud. I have the transmit pin of the dsPIC UART wired to the P0 pin on the CAM7. The dsPIC is transmitting the character “v” in a loop. My oscilloscope is hooked to the input to the CAM7 at pin P0. The scope shows that the character ‘v’ , ASCII b’01110110’, is being sent properly. High is 3.24 Volts, and low is 4 mV. Can you look at my script and see what I’m doing wrong?
P.S. Excuse the extra .py on the file name.
uarttest.py.py (306 Bytes)