Small utility to generate custom graphics code (compatible with the U8Glib library) for the SSD1306 series of OLED screens from CSV files. These small OLED screens are comaptible out of the box with Arduino and U8Glib and currently cost less than £3 delivered on Ebay, but drawing custom graphics is often a pain as the bytes aren't always in the order you might expect!
The graphic code will be produced assuming each cell in the CSV file is a pixel. If the cell contains any character the pixel will be turned on, if it is empty the pixel will be off.
<dependency>
<groupId>com.github.berry120.ssd1306</groupId>
<artifactId>SSD1306</artifactId>
<version>1.0</version>
</dependency>
compile 'com.github.berry120.ssd1306:SSD1306:1.0'
/**
* Simple demo usage.
*/
public static void main(String[] args) {
GraphicInfo gi = new CodeGenerator(args[0]).getInfo();
System.out.println(gi.getDefinitionCode());
}