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: main.cpp
- Revision:
- 3:c57454632e8d
- Parent:
- 2:dc991201ff3c
- Child:
- 4:536bd8cce754
--- a/main.cpp Sat May 30 19:41:25 2015 +0000 +++ b/main.cpp Sat May 30 19:47:00 2015 +0000 @@ -12,6 +12,12 @@ // Without magnet present the AS5510 sensor is // // expected to output a value of approx 511 // // (1023/2= 511 // +// // +// Note 3) // +// Lateral Movement of a simple 2-pole magnet. // +// Magnet size diameter 1mm length 2mm // +// Distance to sensor approx 0.8mm // +// Output 10bit resolution // ////////////////////////////////////////////////// Serial pc(USBTX, USBRX); // tx, rx I2C i2c(PTB3, PTB2); // SDA, SCL (for K22F)