I have a script in python build thats reads the data from the msp430 using the usb serial.
But when I ran this script in BeageleBone I justo get a blank enter.
I must be missing something. I already tried the rules in here http://energia.nu/guide/guide_linux/
Please some advice.
I think the problem has to do with the drives or smt like that. My second guess is the power but i have the BB connect to a 5v 2.5A
Hi Hugo,
I don’t think its a driver problem. Does python show you any exceptions?
Can you send us a relevant piece of your script?
Miguel Aveiro
`
import serial
port_name = ‘/dev/ttyACM0’
ps = serial.Serial(port_name , 9600, timeout=1)
rint(“Connected!”)
while not self.done:
ps_data = ps.readline()
print(ps_data)
`
Basically that is it. I’am preaty sure it work because I use it in my computer (MAC) and works fine -of course with different port name’ which I also read using another script.
So in my computer I get numerical values and in the BB i just get Blanks.