Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to use onboard LEDs #2

Open
mpena2099 opened this issue Aug 11, 2012 · 1 comment
Open

Error when trying to use onboard LEDs #2

mpena2099 opened this issue Aug 11, 2012 · 1 comment
Assignees

Comments

@mpena2099
Copy link

I'm trying to run the example code (https://gist.github.com/2059197) and when I change "P8_3" to "USR3" (LED on board) and run the program it returns:

"Failed to set direction for pin: No such file or directory
test: gpio.c:87: gpio_set_direction: Assertion `0' failed.
Aborted"

Comand line "digitalWrite --pin USR3 --value 0" also returns:

digitalWrite --pin --value
e.g. P8_45
0 = LOW, 1 = HIGH

Any ideia? Thanks!

@ghost ghost assigned justjoheinz Sep 8, 2012
@justjoheinz
Copy link
Owner

I will have a look at it. Thanks for reporting. I never tried the code with the user leds. Markus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants