diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | main.cpp.example | 3 |
2 files changed, 1 insertions, 4 deletions
@@ -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;
|