I was wondering if there were any specific guides or documents on creating Object Oriented programs using the particle photon? I intend to use an abstract class, and therefore some inheritance and polymorphism.
Specifically I am using a bunch of sensors that I would like to be able to access each through reading and/or initialization functions. I only intend to have one instance of each sensor although the sensors will be stored together in a polymorphic array so I can cycle through them and call their read functions.
I’ve used OO before in Java although I’m not too sure about the limitations of C. I’ve had a trawl through google results on this although for obvious reasons, OO isn’t too popular on MCUs so there aren’t that many results