Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: USBDevice pegasus_dev max32630fthr
Diff: main.cpp
- Revision:
- 2:6c7d3a687d35
- Parent:
- 1:707376a2b1bc
diff -r 707376a2b1bc -r 6c7d3a687d35 main.cpp
--- a/main.cpp Sun Nov 20 23:32:32 2016 +0000
+++ b/main.cpp Tue Dec 13 21:57:08 2016 +0000
@@ -2,14 +2,14 @@
#include "max32630fthr.h"
DigitalOut led1(LED1);
-MAX32630FTHR pegasus(MAX32630FTHR::VIO_3V3);
+MAX32630FTHR pegasus;
// main() runs in its own thread in the OS
// (note the calls to Thread::wait below for delays)
int main()
{
// initialize power and I/O on MAX32630FTHR board
- pegasus.init();
+ pegasus.init(MAX32630FTHR::VIO_3V3);
while (true) {
led1 = !led1;