[riot-notifications] [RIOT-OS/RIOT] tests: add test for periph_gpio without stdio dep (#16583)

Karl Fessel notifications at github.com
Mon Jul 5 19:09:09 CEST 2021


@kfessel commented on this pull request.



> @@ -0,0 +1,64 @@
+include ../Makefile.tests_common
+
+# Select pins suitable for testing
+# ================================
+#
+# For each input mode one pin is configured accordingly and an output pin is used to display the
+# current value read. It is suggested that the corresponding output pins are connected to LEDs, so
+# that the output level is visualized.
+#
+# For each GPIO IRQ flank one pin is configured accordingly and an output pin is toggled on each
+# IRQ triggered. Note that no debouncing is done in software, so expect some flickering on the
+# output pin if you don't connect a Schmitt trigger or so to the inputs.
+
+# Pin to use as floating input and corresponding output pin
+PIN_IN          := GPIO_PIN(0, 0)

PIN_IN          := GPIO_PIN(0, 0)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16583#pullrequestreview-699338462
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210705/d3ecf803/attachment.htm>


More information about the notifications mailing list