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.
Diff: Input/AccelerationSensor/AccelerationSensor.h
- Revision:
- 1:b1219d8ca117
diff -r 669ef71cba68 -r b1219d8ca117 Input/AccelerationSensor/AccelerationSensor.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Input/AccelerationSensor/AccelerationSensor.h Mon Sep 10 01:39:15 2018 +0000 @@ -0,0 +1,14 @@ +#ifndef ACCELERATIONSENSOR_H_ +#define ACCELERATIONSENSOR_H_ + +#include "mbed.h" + +namespace ACCELERATIONSENSOR { + #define ACCX_PIN PA_0 + #define ACCY_PIN PA_6 + #define ACCZ_PIN PA_5 + + extern AnalogIn acc[]; +} + +#endif \ No newline at end of file