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.
main.cpp@0:6794ef69d657, 2021-10-27 (annotated)
- Committer:
- gakutoagata
- Date:
- Wed Oct 27 11:01:12 2021 +0000
- Revision:
- 0:6794ef69d657
test
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| gakutoagata | 0:6794ef69d657 | 1 | #include "mbed.h" |
| gakutoagata | 0:6794ef69d657 | 2 | #include "HMC6352.h" |
| gakutoagata | 0:6794ef69d657 | 3 | |
| gakutoagata | 0:6794ef69d657 | 4 | HMC6352 compass(D4,D5); |
| gakutoagata | 0:6794ef69d657 | 5 | int main() |
| gakutoagata | 0:6794ef69d657 | 6 | { |
| gakutoagata | 0:6794ef69d657 | 7 | compass.setCalibrationMode(0x43); |
| gakutoagata | 0:6794ef69d657 | 8 | wait(180); |
| gakutoagata | 0:6794ef69d657 | 9 | compass.setCalibrationMode(0x45); |
| gakutoagata | 0:6794ef69d657 | 10 | |
| gakutoagata | 0:6794ef69d657 | 11 | } |
| gakutoagata | 0:6794ef69d657 | 12 |