Difference between revisions of "Embedded System Tutorial GPIO"
From Embedded Systems Learning Academy
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | Socialledge is moving to two portals. | ||
+ | * The Wiki will remain here for general references about the SJ-One board, and to document student reports. | ||
+ | * The bookstack will now be used for SJSU assignments | ||
+ | |||
+ | [http://books.socialledge.com/books/embedded-drivers-real-time-operating-systems/chapter/lesson-gpio This article has been moved here] | ||
+ | |||
+ | <!-- | ||
== Objective == | == Objective == | ||
Interface your LPC17xx to a switch and an LED. | Interface your LPC17xx to a switch and an LED. | ||
Line 94: | Line 101: | ||
== Assignment == | == Assignment == | ||
At the end of this lab, you should be familiar with how a microcontroller's memory can access physical pins. Test your knowledge by doing the following: | At the end of this lab, you should be familiar with how a microcontroller's memory can access physical pins. Test your knowledge by doing the following: | ||
− | * Interface your board's pin to an external switch | + | * Interface your board's GPIO pin to an external switch |
− | * Interface your board's pin to an LED | + | * Interface your board's GPIO pin to an LED |
* If the switch is pressed, light up an LED | * If the switch is pressed, light up an LED | ||
* Do not use any pre-existing library such as a GPIO class | * Do not use any pre-existing library such as a GPIO class | ||
+ | |||
+ | Upload into the textbox just the relevant code, probably just main.cpp | ||
+ | |||
+ | <b>Extra Credit:</b> Do something creative, such as lighting up an LED based on a terminal command. | ||
+ | |||
+ | [[Embedded System GPIO Assignment]] | ||
+ | |||
+ | --> |
Latest revision as of 20:02, 25 January 2019
Socialledge is moving to two portals.
- The Wiki will remain here for general references about the SJ-One board, and to document student reports.
- The bookstack will now be used for SJSU assignments
This article has been moved here