Difference between revisions of "EBC Exercise 10 Flashing an LED"
(Added References) |
m (→Resources) |
||
Line 9: | Line 9: | ||
# [http://www.avrfreaks.net/wiki/index.php/Documentation:Linux/GPIO#Getting_access_to_a_GPIO Here] in a gpio reference for Linux in general. It includes sample 'C' code for flashing at 1 Hz. | # [http://www.avrfreaks.net/wiki/index.php/Documentation:Linux/GPIO#Getting_access_to_a_GPIO Here] in a gpio reference for Linux in general. It includes sample 'C' code for flashing at 1 Hz. | ||
# [https://groups.google.com/forum/?hl=en#!msg/beagleboard/20rM-r8C2YY/hVZiN2ahI8YJ Here] is a posting in the Beagle Google group about gpio. | # [https://groups.google.com/forum/?hl=en#!msg/beagleboard/20rM-r8C2YY/hVZiN2ahI8YJ Here] is a posting in the Beagle Google group about gpio. | ||
+ | # [http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/gpio.txt;h=36af58eba136bac198ea3b1f33f34236be9ce5df;hb=HEAD Here] is some information about gpio from the kernel point of view. |
Revision as of 09:04, 20 July 2011
The"Hello World" program is the traditional first program for many classes. Flashing an LED is the embedded equivalent. Here we will explore a few ways to flash and LED on the Beagle and explore General Purpose I/O (gpio) along the way.
Resources
- Here is wh1ts article on flashing an LED. It is referenced in the readgpio file that comes on the Beagle.
- This Make magazine article has a few more details.
- Here in a gpio reference for Linux in general. It includes sample 'C' code for flashing at 1 Hz.
- Here is a posting in the Beagle Google group about gpio.
- Here is some information about gpio from the kernel point of view.