8devices Community https://www.8devices.com/community/ |
|
Operating the LED's from a schell script? https://www.8devices.com/community/viewtopic.php?f=13&t=412 |
Page 1 of 1 |
Author: | dilmash [ 24 May 2013, 06:56 ] |
Post subject: | Operating the LED's from a schell script? |
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 |
Author: | adamheinrich [ 24 May 2013, 10:47 ] |
Post subject: | Re: Operating the LED's from a schell script? |
This is the way to go: (you have to add package "gpioctl"). |
Author: | dilmash [ 24 May 2013, 12:18 ] |
Post subject: | Re: Operating the LED's from a schell script? |
Author: | adamheinrich [ 24 May 2013, 16:35 ] |
Post subject: | Re: Operating the LED's from a schell script? |
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). |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |