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: FXOS8700CQ/FXOS8700CQ.cpp
- Revision:
- 48:e308067cfea5
- Parent:
- 46:142a3914c3e3
--- a/FXOS8700CQ/FXOS8700CQ.cpp Tue May 19 14:57:09 2020 +0000 +++ b/FXOS8700CQ/FXOS8700CQ.cpp Tue May 19 15:13:47 2020 +0000 @@ -8,6 +8,7 @@ */ #include "FXOS8700CQ.h" +#define PI 3.14159265359f // constructor is called when the object is created - use it to set pins and frequency FXOS8700CQ::FXOS8700CQ(PinName sda, PinName scl)