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.cpp
- Revision:
- 1:b1219d8ca117
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Input/AccelerationSensor/AccelerationSensor.cpp Mon Sep 10 01:39:15 2018 +0000 @@ -0,0 +1,10 @@ +#include "AccelerationSensor.h" +#include "mbed.h" + +namespace ACCELERATIONSENSOR { + AnalogIn acc[] = { + AnalogIn(ACCX_PIN), + AnalogIn(ACCY_PIN), + AnalogIn(ACCZ_PIN), + }; +} \ No newline at end of file