Create simple arduino library to use Display DEM 256128A FGH-PW with ST7565 (DataSheet included)
* method Init(Wire &I2cBus, bool AddressSwitch1, AddressSwitch2);
we want to have I2C as reference. The i2c wire will be declared and initialised in main project and referenced only because we need to share I2C with another devices declared in main project.
S1 = LCD pin D6
S2 = LCD pin D7
* Method WriteText(uint_8t Line, uint_8t Column, uint_8t Size, string Text);
We need up to 5 sizes, but we can reduce it if neccesary.
* Method DrawRectangle(uint_8t x, uint_8t y, uint_8t width, uint_8t height, bool fill);
* Method DrawCircle(uint_8t x, uint_8t y, uint_8t diameter, bool fill);
* Method DrawLine(uint_8t x, uint_8t y, uint_8t x2, uint_8t y2);
* Method DrawPoint(uint_8t x, uint_8t y);
Targets:
* Provide library with mentioned methods
* Library should include Arduino example code