ks0108 - Winstar wg12864a 128x64 - graphic editor
rogersyd
Posts: 223
For those of you still using this device (or something similar i presume), attached to this thread is an excel spreadsheet which allows you to create graphics for this display. This was built to work with the standard graphics.spin driver. In the obex you can find the ks0108 driver and demo. The spreadsheet was borrowed from another project i found online and tweaked to produce data in a format that works with the existing driver. Simply draw on the first tab (using the letter "x" to represent an "on" pixel), then copy contents of the formatted data strings from cells spin!ER3:ER66 in to the DAT section of the your spin file. Example code is below:
Note: Had to zip the spreadsheet since xlsx files are not allowed as attachments.
Enjoy!
gr.pix(36, 16, 0, @pixdef3) ... Dat pixdef3 word byte 16,64,100,48 word %%33000000, %%00000000, %%00000000, %%00000000, %%00000000, %%00000000, %%00000000, %%00000000, %%00000000, %%00000000, %%00000000, %%00000000, %%00000000, %%00000000, %%00000000, %%00000033 word %%33333333, %%33333333, %%33333333, %%33333333, %%33333333, %%33333333, %%33333333, %%33333333, %%33333333, %%33333333, %%33333333, %%33333333, %%33333333, %%33333333, %%33333333, %%33333333 '.... 64 total rows
Note: Had to zip the spreadsheet since xlsx files are not allowed as attachments.
Enjoy!