We are trying to determine how to add nanoengine to custom display control class.. We appreciate how TingGPS approached supporting multiple display/lcd libraries though we can also put our canvas routines within the object class to call together with all the nanoengine commands.
In a file display.h:
DisplaySSD1306_128x64_I2C* display;
typedef NanoEngine1 NanoEngineDemo;
NanoEngineDemo engine(display);
How can we approach this which will work and not irritate the compiler?
We are trying to determine how to add nanoengine to custom display control class.. We appreciate how TingGPS approached supporting multiple display/lcd libraries though we can also put our canvas routines within the object class to call together with all the nanoengine commands.
In a file display.h:
DisplaySSD1306_128x64_I2C* display;
typedef NanoEngine1 NanoEngineDemo;
NanoEngineDemo engine(display);
How can we approach this which will work and not irritate the compiler?
Thank You