python - Pyserial not running correctly? -


i'm trying use pyserial running issues. code in larger code follows

import serial ser = serial.serial('/dev/ttyama0', 300) ser.write(string) ser.close() 

but running script not getting past ser = serial.serial('/dev/ttyama0', 300)

thanks all


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

ios - iPhone/iPad different view orientations in different views , and apple approval process -

Shrink a YouTube video to responsive width -