New method settings provides dynamic SPI speed support #433
Makuna
started this conversation in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
NeoPixelBus now exposes a new method
void SetMethodSettings(const SettingsObject& settings)
that allows setting properties exposed for specific "Methods". Currently only the hardware SPI for Two Wire methods use this.This allows for the dynamic setting of the SPI speed on the NeoPixelBus when using one of these specific methods:
You would instance your two wire strip like...
And then you can set the speed like...
Beta Was this translation helpful? Give feedback.
All reactions