My application calls for 4 Arduinos. (I am using 4 Seeeduinos XIAO.) I plan on using the same sketch for all Seeeduinos; but they all do partially different things. Each one has a dedicated section within the sketch. Like this I have only one master sketch and do not have to remember what sketch goes with what Seeeduino, and can just upload the same sketch to each of them. I sacrifice a pins V read to assign the type of work it has to perform. The 4 assignments are as follows: GND, 3.3V, 0.4V, and 0.6-3.1V.
I started reading about interrupt pins, registers, over-clock behaviors before discovering FreeRTOS. (In my case it would be
#include <Seeed_Arduino_FreeRTOS.h>) But before I dive into coding, is there anything to look out for in structuring my sketch in such a way? I guess my question is: is FreeRTOS somewhat smart, or am I asking for trouble structuring it as such?