Re: ssd1306 Include Question
I was now trying to display a single dot which would move on the display according to an X and Y coordinate variable.
The ssd1306 has no support for setting individual pixels because the smallest write sets 8 pixels as a minimum and the i2c versions have no method to read back displayed data.
so my small footprint models that have no display buffer cannot support single pixel writes in any practical way
the fully buffered graphics versions can do it easily.
gl_setdot: 'Set a pixel to colour given gl_x,gl_y
ie set a pixel @30,33 and clear pixel at @31,33
Code:
gl_y=33
gl_x=30
colour=1
gosub gl_setdot
gl_x=31
colour=0
gosub gl_setdot
gosub show
Warning I'm not a teacher
Bookmarks