diff options
| author | Hierophect <hierophect@gmail.com> | 2019-11-15 12:28:16 -0500 |
|---|---|---|
| committer | Hierophect <hierophect@gmail.com> | 2019-11-15 12:28:16 -0500 |
| commit | 6cce2d6d145896e02e78fffa26edb60f7d0d6a69 (patch) | |
| tree | 9e2d889304000abc528973251d51e8c80dce5e31 /ports/stm32f4/common-hal/microcontroller/Pin.h | |
| parent | 6e96b1945e611ae1fc746ac35e6adbd4545620a1 (diff) | |
Implement Neopixel write, add defaults to f405
Diffstat (limited to 'ports/stm32f4/common-hal/microcontroller/Pin.h')
| -rw-r--r-- | ports/stm32f4/common-hal/microcontroller/Pin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/stm32f4/common-hal/microcontroller/Pin.h b/ports/stm32f4/common-hal/microcontroller/Pin.h index 0c3fb375f..c42b0801f 100644 --- a/ports/stm32f4/common-hal/microcontroller/Pin.h +++ b/ports/stm32f4/common-hal/microcontroller/Pin.h @@ -31,6 +31,10 @@ #include "peripherals/stm32f4/pins.h" +#ifdef MICROPY_HW_NEOPIXEL +extern bool neopixel_in_use; +#endif + void reset_all_pins(void); // reset_pin_number takes the pin number instead of the pointer so that objects don't // need to store a full pointer. |
