Demo for MAX32625PICO board library

Dependencies:   USBDevice max32625pico

Fork of PICO_self_test by Greg Steiert

Revision:
5:39fe91b6d3f0
Parent:
4:1c6819a42db0
Child:
6:fa0134a8ac32
--- a/main.cpp	Fri Dec 09 22:17:16 2016 +0000
+++ b/main.cpp	Tue Dec 13 22:00:12 2016 +0000
@@ -2,7 +2,7 @@
 #include "max32630fthr.h"
 #include "USBMSD_SD.h"
 
-MAX32630FTHR pegasus(MAX32630FTHR::VIO_3V3);
+MAX32630FTHR pegasus;
 
 // Hardware serial port over DAPLink
 Serial daplink(P2_1, P2_0);
@@ -42,7 +42,7 @@
 {
     float aIn;
     daplink.printf("Initializing MAX32630FTHR\r\n");
-    pegasus.init();
+    pegasus.init(MAX32630FTHR::VIO_3V3);
     daplink.printf("Checking Supplies\r\n");
     aIn = 2.4f * vdd12In;
     daplink.printf("vdd12 = %f\r\n", aIn);