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.
Dependencies: mbed
Diff: rec/rect.h
- Revision:
- 5:0a116644cce2
- Parent:
- 3:1a134243e2f0
- Child:
- 10:ef01b3076040
diff -r 55d904040636 -r 0a116644cce2 rec/rect.h --- a/rec/rect.h Mon Apr 16 00:11:15 2018 +0000 +++ b/rec/rect.h Mon Apr 16 09:57:57 2018 +0000 @@ -13,6 +13,7 @@ void draw(N5110 &lcd); void update(Direction d,float mag); Vector2D get_pos(); + void set_pos(Vector2D p); private: int rect_x;