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.
Fork of USBMouse_HelloWorld by
Revision 5:f2e423f20e8e, committed 2013-11-07
- Comitter:
- gcarmonar
- Date:
- Thu Nov 07 14:17:57 2013 +0000
- Parent:
- 4:26ecbbc27530
- Commit message:
- USB mouse basic example
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;