I am trying to use simulink in order to generate code for the particle photon and then upload the code to the photon via USB.
I’m currently having issues of passing variables form my simulink models to the setup/loop functions. Does anyone know if these functions can possibly be altered to accept variables (ie, void setup(int a, int b, etc…))?
Would appreciate all the help!