Commit Graph

7 Commits

Author SHA1 Message Date
Adrien Marquès 510517d90b
fix binary command code 2020-05-30 19:40:24 +02:00
Adrien Marquès 1dce4908b8
add clear() method with no need to apply afterwards
- it would be bufferred if the cost is low later if it brings flicker, but for now let's consider that it will be fast enough and if we can avoid buffering, we would
2020-05-30 19:29:36 +02:00
Adrien Marquès 88c6b256ce
move constructor logics into begin() as it needs to be called in the arduino setup() 2020-05-30 19:17:45 +02:00
Adrien Marquès 856934969b
copy binary command constants from original library 2020-05-30 19:14:56 +02:00
Adrien Marquès 5c2bedd10f
extract constructor and remove SPI conditions from official library 2020-05-30 19:10:34 +02:00
Adrien Marquès b68416af99
add default main with temporary 'SSD1306Ascii' library
- official library takes 132% of the arduino uno memory so no way we use it; it is mainly due to the buffer which is 32x128 bytes
 - the next step is to reverse-engineer it to keep no buffer and rely on a state according to our very own usage
2020-05-30 19:08:02 +02:00
Adrien Marquès c368a1f209
add sensors classes: push button, potentiometer, pressure sensor 2020-05-30 19:05:35 +02:00