'Pio' was not declared in this scope #470
-
Am using the library as part of Jiri Praus's Beating LED Heart code, but am running it on an Adafruit Feather nrf52840: Jiri's code is at: So sorry if I've missed something obvious. Still fairly new to Arduino. His include order in the main code is: Struggling to nail this last bit for a Mother's Day gift. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is usually due to the build not setting the Arduino Arch symbol correctly; and ARM support are the worse and using PIO will make it worse. ARDUINO_ARCH_NRF52840 must be defined. Also "underscore underscore" arm "underscore underscore" must also be set if you do want the bitbang. With this you get the hardware support for this specific chip which is async. |
Beta Was this translation helpful? Give feedback.
This is usually due to the build not setting the Arduino Arch symbol correctly; and ARM support are the worse and using PIO will make it worse.
ARDUINO_ARCH_NRF52840 must be defined. Also "underscore underscore" arm "underscore underscore" must also be set if you do want the bitbang.
With this you get the hardware support for this specific chip which is async.