@@ -9,23 +9,29 @@ This script sets up a GPIO 0 as an output and toggles
9
9
10
10
This device sinks current. When an output is LOW then current will flow.
11
11
12
+ The key methods showcased by this example are:
13
+ -[ pinMode()] ( https://docs.sparkfun.com/qwiic_gpio_py/classqwiic__gpio_1_1_qwiic_g_p_i_o.html#a88956a5327174e453c9f247ae7ea2a07 )
14
+ -[ digitalWrite()] ( https://docs.sparkfun.com/qwiic_gpio_py/classqwiic__gpio_1_1_qwiic_g_p_i_o.html#a4cd696748424967345528fabe4fc22fa )
15
+
12
16
## Qwiic Gpio Ex1B Write Port
13
17
This script flips all 8 outputs on and off every second.
18
+ -[ pinModePort()] ( https://docs.sparkfun.com/qwiic_gpio_py/classqwiic__gpio_1_1_qwiic_g_p_i_o.html#a0f80b0d4eb2872e5bbdd1eefffcf04cc )
19
+ -[ digitalWritePort()] ( https://docs.sparkfun.com/qwiic_gpio_py/classqwiic__gpio_1_1_qwiic_g_p_i_o.html#a52c93eb9bb28236c9b6fffe3456e2249 )
14
20
15
21
## Qwiic Gpio Ex2A Read
16
22
This script allows the user to read a value from GPIO 0
17
- ------------------------------------------------------------------------
23
+ - [ digitalRead() ] ( https://docs.sparkfun.com/qwiic_gpio_py/classqwiic__gpio_1_1_qwiic_g_p_i_o.html#a98403a1293a99ff4411cc6a4cca5e691 )
18
24
19
25
## Qwiic Gpio Ex2B Read Port
20
26
This script allows the user to read the status of all 8 GPIO simultaneously
21
- ------------------------------------------------------------------------
27
+ - [ digitalReadPort() ] ( https://docs.sparkfun.com/qwiic_gpio_py/classqwiic__gpio_1_1_qwiic_g_p_i_o.html#a6d86c74b1969a08272de93aeaeb128c5 )
22
28
23
29
## Qwiic Gpio Ex3A Inversion
24
30
This script shows how to invert the input signal on a pin
25
- ------------------------------------------------------------------------
31
+ - [ invertPin() ] ( https://docs.sparkfun.com/qwiic_gpio_py/classqwiic__gpio_1_1_qwiic_g_p_i_o.html#af3e28ee15c8bf6dd94d307f3d05c5430 )
26
32
27
33
## Qwiic Gpio Ex3B Inversion Port
28
34
This script shows how to invert the input signal on multiple pins
29
- ------------------------------------------------------------------------
35
+ - [ invertPinPort() ] ( https://docs.sparkfun.com/qwiic_gpio_py/classqwiic__gpio_1_1_qwiic_g_p_i_o.html#a9540c7dbd1b6b10191cf3f7aed9c91b1 )
30
36
31
37
0 commit comments