https://github.com/ryochack/lpc812_usbgpio
https://github.com/ryochack/lpc812_usbgpio
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ryochack/lpc812_usbgpio
- Owner: ryochack
- License: mit
- Created: 2015-09-07T08:15:26.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-07T12:16:09.000Z (almost 11 years ago)
- Last Synced: 2025-03-12T23:13:24.501Z (over 1 year ago)
- Language: C
- Size: 164 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
LPC812 USB-GPIO module
======================
What is this?
-------------
This is a GPIO control module via USB-serial for NXP LPC812(LPC812M101JD20FP).
How to use
----------
Following tools are required to build and write firmware(hex file).
- NXP LPCXpresso
- Flash Magic
UART command list
-----------------
- help
- show UART command list
- version
- show firmware version
- gpio list
- show all gpio information
- gpio mode $pin $mode
- set gpio mode ($mode=0:Hi-Z, 1:pulldown, 2:pullup, 3:repeater)
- gpio dir $pin $dir
- set gpio direction ($dir=0:input, 1:output)
- gpio read $pin
- read gpio input value
- gpio write $pin $value
- write gpio output value
License
-------
MIT-License
please refer to LICENSE file.