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 4DGL-uLCD-SE MMA8452
inputs.h@0:2f4225a589d1, 2019-03-10 (annotated)
- Committer:
- Yehowshua
- Date:
- Sun Mar 10 05:28:18 2019 +0000
- Revision:
- 0:2f4225a589d1
First Commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Yehowshua | 0:2f4225a589d1 | 1 | #pragma once |
Yehowshua | 0:2f4225a589d1 | 2 | |
Yehowshua | 0:2f4225a589d1 | 3 | typedef struct{ |
Yehowshua | 0:2f4225a589d1 | 4 | //buttons |
Yehowshua | 0:2f4225a589d1 | 5 | char b1, b2, b3; |
Yehowshua | 0:2f4225a589d1 | 6 | |
Yehowshua | 0:2f4225a589d1 | 7 | //accelerometer |
Yehowshua | 0:2f4225a589d1 | 8 | char a_x, a_y; |
Yehowshua | 0:2f4225a589d1 | 9 | |
Yehowshua | 0:2f4225a589d1 | 10 | //implement more inputs here if needed |
Yehowshua | 0:2f4225a589d1 | 11 | }conditions; |