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.
Revision 1:643faa48282f, committed 2019-07-25
- Comitter:
- duchonic
- Date:
- Thu Jul 25 06:53:04 2019 +0000
- Parent:
- 0:6eeb987cb865
- Commit message:
- body
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Jul 24 18:30:59 2019 +0000
+++ b/main.cpp Thu Jul 25 06:53:04 2019 +0000
@@ -2,8 +2,6 @@
#include "USBHostMouse.h"
DigitalOut led1(LED1);
-DigitalOut led2(LED2);
-DigitalOut led3(LED3);
void onMouseEvent(uint8_t buttons, int8_t x, int8_t y, int8_t z)
{
@@ -40,8 +38,6 @@
Thread mouseTask(mouse_task, NULL, osPriorityNormal, 1024* 4);
while(1) {
led1 = !led1;
- led2 = !led2;
- led3 = !led3;
Thread::wait(500);
}
}