We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eeae32b commit 537aa55Copy full SHA for 537aa55
1 file changed
src/GPIOControl.h
@@ -0,0 +1,20 @@
1
+# GPIO Control Module Interface
2
+
3
+This header file defines the interface for controlling GPIO pins through mesh messages.
4
5
+## Functions
6
7
+### void gpio_init();
8
+- Initializes the GPIO pins.
9
10
+### void gpio_set_pin(int pin, bool value);
11
+- Sets the specified GPIO pin to the given value.
12
13
+### bool gpio_get_pin(int pin);
14
+- Returns the current value of the specified GPIO pin.
15
16
+### void gpio_toggle_pin(int pin);
17
+- Toggles the value of the specified GPIO pin.
18
19
+### void gpio_send_mesh_message(MeshMessage message);
20
+- Sends a mesh message to control GPIO pins.
0 commit comments