On Mon, Sep 19, 2016 at 2:22 PM, Lidia Toscano <lidia.tosc...@gmail.com> wrote: > Howdy, > > Here is the newbie again! I am learning how to use the BB UARTs. I am > working on the example at > https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/uart > > The minicom commands are not working for me. > > #first terminal window: > minicom -b 9600 -D /dev/ttyO1 > > #second terminal window: > minicom -b 9600 -D /dev/ttyO2 > > I modified the program slighty thinking I could setup UART1 and UART2, cross > the RX/TX of UART 1 and UART 2 as per the directions. > > Since I can't get the minicom to work for me is there another way I test > everything is working? > > Here is my program in Python: > > #!/usr/bin/python > import Adafruit_BBIO.UART as UART > import serial > > UART.setup("UART1") > UART.setup("UART2") > > #tty1 RX = P9_26 TX = P9_24 > ser = serial.Serial(port = "/dev/tty1", baudrate=9600)
^ /dev/ttyO1 > #tty2 RX = P9_22 TX = P9_21 > ser = serial.Serial(port = "/dev/tty2", baudrate=9600) ^ /dev/ttyO2 Regards, -- Robert Nelson https://rcn-ee.com/ -- 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYg1ifKO6bgaLUYabCJDeKvRk1W%2BqxCiry5zMGoDbP3r3Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.