On Wed, Oct 11, 2017 at 8:44 PM, Sai Yamanoor <[email protected]> wrote:
> Oops Sorry. I am not sure if config-pin includes the pin names for
> PocketBeagle. I am trying to play with the GPIOs. For example: GPIO 58. I
> tried both bonescript and Python. It throws an exception.
>
> Here is a code snippet:
>
> GPIO.setup("P2_4", GPIO.OUT)
>
> while True:
>     GPIO.output("P2_4", GPIO.HIGH)
>     time.sleep(0.5)
>     GPIO.output("P2_4", GPIO.LOW)
>     time.sleep(0.5)
>
> My apologies if I am missing something obvious. While I have played with
> other board, I have new to Beaglebone.

It appears that you are using the Adafruit_BBIO Python library.  I am
the maintainer, and PocketBeagle support has not been added yet.

Please open an issue requesting this feature if it is something that
interests you:
https://github.com/adafruit/adafruit-beaglebone-io-python/issues

I'd also be very happy to review any pull requests.

Thanks,
Drew

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAEf4M_Bgu6z9rFioWVtL52OFf1BemeP_gQrUbLd0_ntTNPNKbw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to