Difference between revisions of "Embedded System Tutorial GPIO"
From Embedded Systems Learning Academy
(→GPIO) |
|||
(7 intermediate revisions by 4 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 92: | Line 99: | ||
|} | |} | ||
− | == | + | == Assignment == |
− | At the end of this lab, you should be familiar with how a microcontroller's memory can access physical pins. | + | 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 GPIO pin to an external switch | ||
+ | * Interface your board's GPIO pin to an LED | ||
+ | * If the switch is pressed, light up an LED | ||
+ | * 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