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

Dependents:   SPK-DVIMXR SPK-DMXer

Files at this revision

API Documentation at this revision

Comitter:
tobyspark
Date:
Tue Dec 10 15:48:54 2013 +0000
Parent:
4:a675a19c16f0
Commit message:
fontByteMaker fix

Changed in this revision

spk_oled_fontByteMaker--processing.h Show annotated file Show diff for this revision Revisions of this file
diff -r a675a19c16f0 -r 0d518115e76c spk_oled_fontByteMaker--processing.h
--- 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)