[MinnowBoard] mraa minnoboard max GPIO pin mappings.
Kevron Rees
tripzero.kev at gmail.com
Wed Feb 4 02:35:26 UTC 2015
Going by this[1], it would seem that the 21 pin corresponds with GPIO on
pin 21 of the max. However, when I run the following code, I get an error:
"ValueError: Invalid GPIO pin specified"
#!/usr/bin/env python
import mraa
import time
led = mraa.Gpio(21)
led.dir(mraa.DIR_OUT)
while True:
led.write(1)
time.sleep(1)
led.write(0)
time.sleep(1)
Can anyone tell me why my pin is invalid?
[1] - http://iotdk.intel.com/docs/master/mraa/minnowmax.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elinux.org/pipermail/elinux-minnowboard/attachments/20150203/d3cbd27b/attachment.html>
More information about the elinux-MinnowBoard
mailing list