A test program of the library for MCP3008

Dependencies:   mbed mcp3008

Files at this revision

API Documentation at this revision

Comitter:
ryood
Date:
Fri Nov 03 04:30:23 2017 +0000
Parent:
3:88504897a2e8
Commit message:
POTx8+POTx16 Test

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 88504897a2e8 -r 0bd89699719e main.cpp
--- a/main.cpp	Wed Oct 25 13:55:15 2017 +0000
+++ b/main.cpp	Fri Nov 03 04:30:23 2017 +0000
@@ -27,14 +27,17 @@
         for (int i = 0; i < 8; i++) {
             printf("%4d\t", v0[i]);
         }
+        
         printf(": ");
         for (int i = 0; i < 8; i++) {
             printf("%4d\t", v1[i]);
         }
+        
         printf(": ");
         for (int i = 0; i < 8; i++) {
             printf("%4d\t", v2[i]);
         }
+        
         printf("\r\n");
         
         wait(0.2);