SparkFun Forums 

Where electronics enthusiasts find answers.

Search found 2 matches

 Go to advanced search

Re: PySerial

 by Aravs7 ¦  Fri Oct 31, 2014 8:08 am ¦  Forum: MicroView Projects ¦  Topic: PySerial ¦  Replies: 4 ¦  Views: 2933

Hi, There's no problem with MicroView because my sketch works when I try to send data via the Arduino IDE's serial monitor. I'm trying to write a python script to send data to MicroView over the serial port. I use PySerial to send data to an actual Arduino microcontroller and it works but it does no...

PySerial

 by Aravs7 ¦  Wed Oct 22, 2014 6:47 am ¦  Forum: MicroView Projects ¦  Topic: PySerial ¦  Replies: 4 ¦  Views: 2933

Hi,

I'm trying to send some data over to MicroView from a python script using PySerial and have it displayed. But it does not work. Anything that I'm missing here?

Here's my code:

Code: Select all
import serial
ser = serial.Serial("/dev/tty.usbserial-DA00SQTP",9600)
ser.write(b'5')
Thanks