While setting up the UART for beaglebone black we've used these commands :
import Adafruit_BBIO UART as UART
import.setup("UART1")
we are getting a syntax error after this command as
-sh: syntax error near unexpected token `"UART1"'
kindly help us with this error
Setup error for UART
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67485
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Setup error for UART
You need UART.setup() rather than import.setup():
https://learn.adafruit.com/setting-up-i ... black/uart
https://learn.adafruit.com/setting-up-i ... black/uart
- nitin
- Posts: 2
- Joined: Sun Mar 01, 2015 3:08 am
Re: Setup error for UART
we got it fixed!!
Thank you very much for quick response sir
Thank you very much for quick response sir
Please be positive and constructive with your questions and comments.