SPKDisplay - A mbed display class and processing imaging tools for 128x64 OLEDs using the SSD1305 driver, connected via SPI.

Dependents:   SPK-DVIMXR SPK-DMXer

Revision:
5:0d518115e76c
Parent:
3:ade83210ecf6
--- a/spk_oled_fontByteMaker--processing.h	Sun Oct 28 19:53:49 2012 +0000
+++ b/spk_oled_fontByteMaker--processing.h	Tue Dec 10 15:48:54 2013 +0000
@@ -81,7 +81,7 @@
     {
       int x = (charID-startID)*8 + counter;
 
-      byte theByte = 0;
+      char theByte = 0; // byte and other types are signed in java! char is the exception
       for (int b = 0; b < 8; b++)
       {
         if (imgPixel.get(x, b) == white)