I have a project that's about 15k lines of code, using a Teensy 3.2 and OctoWS2811 board to control around 700 LEDs. My code is using FastLED 3.4.0 and OctoWS2811 1.4.0 to drive the LEDs.
I also have various other modules/components connected, as follows:
Bluetooth module (Rx pin 0, Tx pin 1)
APDS-9960 Gesture sensor (interrupt on pin 17, SDA0/SCL0 on pins 18 & 19)
MAX9814 Microphone (pin 23)
Rotary Encoder (pins 24, 25, 33)
Potentiometer (pin 26)
Flame sensor (pin 27)
Alcohol sensor (pin 28)
Planned future use (pins 29, 30, 31)
I want to upgrade the project to use a Teensy 4.0 instead of 3.2, primarily because my current codebase uses 99.3% of available space on the 3.2, but also because I could do with the additional CPU power. I understand I'll need to update to the latest Github verison of OctoWS2811 (as per https://www.searle.me.uk/2021/05/19/teensy-4-with-fastled/). I'm also aware that any code (e.g. LED patterns) tied to the CPU's clock frequency will need tweaking. Other than that, am I right in thinking that I can swap in the Teensy 4.0 and everything should work fine?
I also have various other modules/components connected, as follows:
Bluetooth module (Rx pin 0, Tx pin 1)
APDS-9960 Gesture sensor (interrupt on pin 17, SDA0/SCL0 on pins 18 & 19)
MAX9814 Microphone (pin 23)
Rotary Encoder (pins 24, 25, 33)
Potentiometer (pin 26)
Flame sensor (pin 27)
Alcohol sensor (pin 28)
Planned future use (pins 29, 30, 31)
I want to upgrade the project to use a Teensy 4.0 instead of 3.2, primarily because my current codebase uses 99.3% of available space on the 3.2, but also because I could do with the additional CPU power. I understand I'll need to update to the latest Github verison of OctoWS2811 (as per https://www.searle.me.uk/2021/05/19/teensy-4-with-fastled/). I'm also aware that any code (e.g. LED patterns) tied to the CPU's clock frequency will need tweaking. Other than that, am I right in thinking that I can swap in the Teensy 4.0 and everything should work fine?