aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--main.cpp.example3
2 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0643359..cd03356 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,7 @@ CPFLAGS = -v -Obinary
ODFLAGS = -S
# main source file
-MAIN=main.c
+MAIN=main.cpp
CSRC = libmaple/systick.c \
libmaple/timers.c \
diff --git a/main.cpp.example b/main.cpp.example
index ae63996..5c285f6 100644
--- a/main.cpp.example
+++ b/main.cpp.example
@@ -29,7 +29,6 @@
#include "wirish.h"
#include "HardwareSerial.h"
-#include "HardwareUsb.h"
#include "usb.h"
#define LED_PIN 13
@@ -50,8 +49,6 @@ void setup()
pinMode(PWM_PIN, PWM);
pwmWrite(PWM_PIN, 0x8000);
- /* Send a message out the USB virtual com port */
- Usb.println("Hello world!");
}
int toggle = 0;