This library controls the WNC. There is a derived class for usage from the K64F board.

Fork of WncControllerLibrary by Fred Kellerman

Revision:
7:e6f22159ef23
Parent:
6:a656e820d7ff
Child:
8:33c33f7cf84e
--- a/WncController.cpp	Thu Sep 08 18:57:56 2016 +0000
+++ b/WncController.cpp	Fri Sep 09 14:15:36 2016 +0000
@@ -1525,9 +1525,9 @@
             
             if (i < 0)
                 dbgPuts("Invalid READ string!");
-            else if (i > 2*MAX_WNC_READ_BYTES) {
+            else if (i > 2*n) {
                 // Bound the ill formated WNC read string!
-                i = 2*MAX_WNC_READ_BYTES;
+                i = 2*n;
                 dbgPuts("TRUNCATING read data!");
             }