On Mon, Sep 19, 2016 at 2:22 PM, Lidia Toscano <
lidia....@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)