Commits

iorodeo committed 9f8e86d

Fixed bug in example write uint8 function.

Comments (0)

Files changed (1)

FlashMemory/Example/basic/basic.pde

 }
 
 void writeUint8ToFlashPage() {
-    uint8 data0;
-    uint8 data1;
+    uint8 data0=0;
+    uint8 data1=0;
     for (uint16 address=0; address<flashMemory.maxAddress; address++) {
         flashMemory.writeData(flashPageNum,address,data0,data1);
         if (data0 < 255) {