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.
Diff: main_mouse.cpp
- Revision:
- 2:c0c2a61188a9
- Parent:
- 1:eea17a20509b
--- a/main_mouse.cpp Sat Jun 20 02:02:03 2015 +0000
+++ b/main_mouse.cpp Mon Jan 18 10:48:16 2016 +0000
@@ -1,12 +1,9 @@
-#if 0
+#if 1
// https://developer.mbed.org/handbook/USBMouse
#include "mbed.h"
#include "USBMouse.h"
-#include "STM32_USB48MHz.h"
int main() {
- STM32_HSI_USB48MHz(); // HSI,USB48MHz,SYSCLK32MHz
-
USBMouse mouse;
int16_t x = 0;