System print
Dependencies: max32625pico SerialInterface USBDevice
Diff: main.cpp
- Revision:
- 6:fa0134a8ac32
- Parent:
- 5:39fe91b6d3f0
- Child:
- 7:62efbc5411c8
--- a/main.cpp Tue Dec 13 22:00:12 2016 +0000 +++ b/main.cpp Mon Dec 19 18:46:28 2016 +0000 @@ -2,7 +2,7 @@ #include "max32630fthr.h" #include "USBMSD_SD.h" -MAX32630FTHR pegasus; +MAX32630FTHR pegasus(MAX32630FTHR::VIO_3V3); // Hardware serial port over DAPLink Serial daplink(P2_1, P2_0); @@ -26,7 +26,7 @@ while(1) { Thread::wait(500); gLED = !gLED; - } + } } // Function to read monitor port @@ -42,7 +42,7 @@ { float aIn; daplink.printf("Initializing MAX32630FTHR\r\n"); - pegasus.init(MAX32630FTHR::VIO_3V3); +// pegasus.init(MAX32630FTHR::VIO_3V3); daplink.printf("Checking Supplies\r\n"); aIn = 2.4f * vdd12In; daplink.printf("vdd12 = %f\r\n", aIn);