From: Cefn Hoile Date: Mon, 19 Feb 2018 16:12:08 +0000 (+0000) Subject: Update index.md X-Git-Tag: 0.1.0~4^2~70 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/6811a51e2ca4523847d2b1f4f17ec6ee022aeb75?ds=inline Update index.md --- diff --git a/notes/index.md b/notes/index.md index 8823f4c..bde75a3 100644 --- a/notes/index.md +++ b/notes/index.md @@ -15,8 +15,7 @@ MCP layer are in fact already served from the CP layer. # Example To take a minimal example, the following asserts the default behaviour of the DigitalInOut -constructor, to configure a pin as an input with no pull. The gc.collect() calls help to -minimise heap fragmentation, and ensure there is enough memory to run the particular test. +constructor, checks the behaviour of switch_to_input/output(), configures a pin as a pull-up button, a pull-down button and an LED. ```python import testing