Nicolas Duchoud
/
bool
mouse input and some boolsch algebra
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 |
diff -r 6eeb987cb865 -r 643faa48282f main.cpp --- 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); } }