Add comment about GpioModeAnalog

This commit is contained in:
Derek Jamison 2023-07-01 09:42:13 -05:00
parent 5c5333e55e
commit 3f9554fb07

View File

@ -41,4 +41,10 @@ Run the application and the LED should start blinking. Hold the back button to
- We loop if the back button is not currently pressed.
```c
while(furi_hal_gpio_read(pin_back))
```
```
- Typically when a pin is no longer in use, it is set to analog mode. This causes the pin to be a floating input.
```c
furi_hal_gpio_init_simple(pin_led, GpioModeAnalog);
```