Fix markdown and format of GPIO example README

Fixed headers so they work (requires space between hash and text) and have a sensible structure and removed trailing spaces.

Signed-off-by: krzychb
This commit is contained in:
Seppe Stas
2017-11-07 14:57:35 +01:00
committed by krzychb
parent 05c4a76202
commit 264315ab81

View File

@@ -1,20 +1,15 @@
# Example: GPIO # Example: GPIO
###This test code shows how to configure gpio and how to use gpio interrupt. This test code shows how to configure gpio and how to use gpio interrupt.
## GPIO functions:
####GPIO functions:
* GPIO18: output * GPIO18: output
* GPIO19: output * GPIO19: output
* GPIO4: input, pulled up, interrupt from rising edge and falling edge * GPIO4: input, pulled up, interrupt from rising edge and falling edge
* GPIO5: input, pulled up, interrupt from rising edge. * GPIO5: input, pulled up, interrupt from rising edge.
####Test: ## Test:
* Connect GPIO18 with GPIO4 * Connect GPIO18 with GPIO4
* Connect GPIO19 with GPIO5 * Connect GPIO19 with GPIO5
* Generate pulses on GPIO18/19, that triggers interrupt on GPIO4/5 * Generate pulses on GPIO18/19, that triggers interrupt on GPIO4/5