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.

On Thursday, August 6, 2015 at 9:20:34 AM UTC-5, Miguel Aveiro wrote:
>
> 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
>
> On 06-08-2015 01:57, Hugo Cardoza wrote:
>
> 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
>
> <http://imco.org.mx/>
>
> Instituto Mexicano para la Competitividad A.C.
> Musset No.32, Polanco, CP11560. México D.F.
>
> Twitter: @IMCOmx <http://twitter.com/imcomx> | Facebook: /IMCOmx 
> <http://facebook.com/imcomx> | YouTube: /IMCOmexico 
> <http://youtube.com/imcomexico>
>
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
-- 
 <http://imco.org.mx/>

Instituto Mexicano para la Competitividad A.C.
Musset No.32, Polanco, CP11560. México D.F.

Twitter: @IMCOmx <http://twitter.com/imcomx> | Facebook: /IMCOmx 
<http://facebook.com/imcomx> | YouTube: /IMCOmexico 
<http://youtube.com/imcomexico>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to