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.
Dependencies: AX12_final MX106_not_working comunication_1 mbed-dev
Fork of MX106-finaltest by
main.cpp@1:946c65496383, 2016-04-26 (annotated)
- Committer:
- ilaria
- Date:
- Tue Apr 26 16:46:51 2016 +0000
- Revision:
- 1:946c65496383
- Parent:
- 0:23acabab7c11
- Child:
- 3:d2c3ac534549
aggiunti controlli
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| clynamen | 0:23acabab7c11 | 1 | #include "mbed.h" | 
| ilaria | 1:946c65496383 | 2 | #include "AX12.h" | 
| clynamen | 0:23acabab7c11 | 3 | |
| clynamen | 0:23acabab7c11 | 4 | int main() { | 
| ilaria | 1:946c65496383 | 5 | Serial pc(USBTX, USBRX); | 
| ilaria | 1:946c65496383 | 6 | AX12 MX106(PA_0, PA_1, 1); | 
| ilaria | 1:946c65496383 | 7 | pc.printf("Start run!"); | 
| ilaria | 1:946c65496383 | 8 | |
| ilaria | 1:946c65496383 | 9 | |
| ilaria | 1:946c65496383 | 10 | while (1) { | 
| ilaria | 1:946c65496383 | 11 | |
| ilaria | 1:946c65496383 | 12 | pc.printf("%f",MX106.GetTemp()); | 
| ilaria | 1:946c65496383 | 13 | |
| ilaria | 1:946c65496383 | 14 | |
| ilaria | 1:946c65496383 | 15 | } | 
| ilaria | 1:946c65496383 | 16 | } | 
