Im developing some software that is getting complex fast.
- Arduino with capacitve touch input
- Serial comms
- Particle system
- Projection mapping
My question is about program structure and best practise. I have all this working in seperate programs; I want to combine them all.
Should I create seperate files in one sketch folder and convert them all to classes?
My thinking is use a serial comms sketch and instanciate the other programs as objects. I realise theres many ways to do the same thing but I would like to know what others do when structuring bigger more complex programs. Is there a standard JS rule to keep to?
Thanks in advance to any advice