www.8devices.com
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Operating the LED's from a schell script?
Author |
Message |
dilmash
Joined: 22 May 2013, 11:16 Posts: 3
|
Hi all I finally managed to get the image build for Carambola 2 done. Fine! To get our application ready for the field, I would like to use at least some (may be 2) of the LED lines to indicate operating state. Is there a way to switch them on/off by a shell script or even from a simple C program?
Regards, Peter
|
24 May 2013, 06:56 |
|
|
adamheinrich
Joined: 05 Apr 2013, 20:25 Posts: 43
|
This is the way to go: (you have to add package "gpioctl").
|
24 May 2013, 10:47 |
|
|
dilmash
Joined: 22 May 2013, 11:16 Posts: 3
|
|
24 May 2013, 12:18 |
|
|
adamheinrich
Joined: 05 Apr 2013, 20:25 Posts: 43
|
Look at docs at (sections Download, bottom of the page). There is pinout in Carambola2 datasheet and pin assignments on devboard in dev board's schematics if you use it. I tried linked GPIO approach by reading on-board status (the non-reset one).
|
24 May 2013, 16:35 |
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|