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@4:6450eb95727d, 2016-05-23 (annotated)
- Committer:
- dconsoli
- Date:
- Mon May 23 02:25:06 2016 +0000
- Revision:
- 4:6450eb95727d
- Parent:
- 3:d2c3ac534549
- Child:
- 6:941fdda9d110
A lot of change
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| clynamen | 0:23acabab7c11 | 1 | #include "mbed.h" |
| dconsoli | 4:6450eb95727d | 2 | #include "comunication_1.h" |
| dconsoli | 4:6450eb95727d | 3 | #include "MX106.h" |
| dconsoli | 4:6450eb95727d | 4 | |
| dconsoli | 3:d2c3ac534549 | 5 | /*Connessioni jupers millefori/nucleo: |
| dconsoli | 3:d2c3ac534549 | 6 | - rosso 5V |
| dconsoli | 3:d2c3ac534549 | 7 | - nero GND |
| dconsoli | 3:d2c3ac534549 | 8 | - marrone D2 |
| dconsoli | 3:d2c3ac534549 | 9 | - verde D8 |
| dconsoli | 3:d2c3ac534549 | 10 | Il connettore va stacato dal dynamixel e non dalla millefori per non scambiare il verso!*/ |
| dconsoli | 3:d2c3ac534549 | 11 | |
| dconsoli | 3:d2c3ac534549 | 12 | Serial pc(USBTX, USBRX); |
| dconsoli | 4:6450eb95727d | 13 | comunication_1 wire(PA_9, PA_10, 9600); |
| dconsoli | 4:6450eb95727d | 14 | MX106 motor_21(21, wire, 1); |
| ilaria | 1:946c65496383 | 15 | |
| dconsoli | 3:d2c3ac534549 | 16 | int main() { |
| dconsoli | 3:d2c3ac534549 | 17 | pc.printf("Start run! \n"); |
| ilaria | 1:946c65496383 | 18 | } |
