Sending data from PC to Arduino Using Python (Pyserial)

Hi
I found out there is not much imformation about sending data from python to arduino on internet and it took me half day figure this out, so i want help ppl who are working or want to understand the sending data using serial monitor.

So want i found is if u want to send some data send it in CHAR and also receive and compare it with CHAR if u send int from python serial monitor will convert it into CHAR and u will see from random values and also same implies on arduino side.

Sample Code is attached to this post

I hope this will help

serial send.zip (614 Bytes)

Have a look at this Python - Arduino demo

And please post your code as a .txt file or a .ino file

...R