A library with drivers for different peripherals on the LPC4088 QuickStart Board or related add-on boards.
Dependents: LPC4088test LPC4088test_ledonly LPC4088test_deleteall LPC4088_RAMtest ... more
Revision 13:d868b74fd08e, committed 2014-04-09
- Comitter:
- embeddedartists
- Date:
- Wed Apr 09 09:36:00 2014 +0000
- Parent:
- 12:15597e45eea0
- Child:
- 14:eb9809f2ab86
- Child:
- 15:529fb3f8f88b
- Commit message:
- Updated to work with the new gpio_init()
Changed in this revision
EaLcdBoard.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/EaLcdBoard.cpp Thu Jan 30 08:50:47 2014 +0100 +++ b/EaLcdBoard.cpp Wed Apr 09 09:36:00 2014 +0000 @@ -639,7 +639,9 @@ #endif gpio_t gp; - gpio_init(&gp, pin, PIN_OUTPUT); + gpio_init(&gp, pin); + gpio_dir(&gp, PIN_OUTPUT); + gpio_mode(&gp, PullNone); gpio_write(&gp, value); return Ok;