Gerardo Carmona
/
14_USBMouse_Basic
USB mouse basic example
Fork of USBMouse_HelloWorld by
Diff: main.cpp
- Revision:
- 5:f2e423f20e8e
- Parent:
- 3:b8caa902d79e
--- a/main.cpp Fri Mar 01 13:26:13 2013 +0000 +++ b/main.cpp Thu Nov 07 14:17:57 2013 +0000 @@ -4,10 +4,10 @@ USBMouse mouse; int main() { - int16_t x = 0; - int16_t y = 0; - int32_t radius = 10; - int32_t angle = 0; + int x = 0; + int y = 0; + int radius = 10; + int angle = 0; while (1) { x = cos((double)angle*3.14/180.0)*radius;