Re: [beagleboard] Problem to configurate the GPIO as inputs in the Beaglebone black

2018-10-10 Thread Krish Nachimuthu
Hi John, Yes, there is a space between sudo and the command and you could see that in the attached snapshot... Thanks and regards, Krish On Thu, 11 Oct 2018 at 02:34, John Syne wrote: > There needs to be a space between sudo and /opt/scripts/tools/version.sh > like this: > sudo /opt/scripts/too

Re: [beagleboard] Problem to configurate the GPIO as inputs in the Beaglebone black

2018-10-10 Thread John Syne
There needs to be a space between sudo and /opt/scripts/tools/version.sh like this: sudo /opt/scripts/tools/version.sh Regards, John > On Oct 8, 2018, at 6:31 PM, Krish Nachimuthu wrote: > > Hi all, > I tried sudo python and sudo python3 and it did not work. > > Hi Robert, > I tried sudo/

[beagleboard] Problem to configurate the GPIO as inputs in the Beaglebone black

2018-10-05 Thread hcasalncasal1963
Hello I have been trying to configurate the GPIO’s as inputs , using this code ( I just show the main section). *import Adafruit_BBIO.GPIO as GPIO.* *DOOR= "P9_15" * *GPIO.setup(DOOR, GPIO.IN)* *print ( “test”)* However, I get an error message. *Traceback (most recent call last):* *File "/v