FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
liger/code/binary_switch at master · physiii/liger · GitHub
physiii
liger
Repository navigation
Code
Issues
Pull requests
8
(8)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
liger
/
code
/
binary_switch
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
Breadcrumbs
liger
/
code
/
binary_switch
/
Copy path
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
build
build
main
main
Makefile
Makefile
README.md
README.md
sdkconfig
sdkconfig
sdkconfig.old
sdkconfig.old
README.md
Outline
Example: GPIO
This test code shows how to configure gpio and how to use gpio interrupt.
GPIO functions:
GPIO18: output
GPIO19: output
GPIO4: input, pulled up, interrupt from rising edge and falling edge
GPIO5: input, pulled up, interrupt from rising edge.
Test:
Connect GPIO18 with GPIO4
Connect GPIO19 with GPIO5
Generate pulses on GPIO18/19, that triggers interrupt on GPIO4/5
Back
|
FazBrowse Home
|
New Git URL