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: mbed
Fork of hybrid_arm_main by
Diff: main.cpp
- Revision:
- 9:57fb67f05375
- Parent:
- 8:f756ddb8ff5b
- Child:
- 10:be0892c68789
--- a/main.cpp Fri May 13 06:49:54 2016 +0000 +++ b/main.cpp Fri May 13 06:53:35 2016 +0000 @@ -1,5 +1,5 @@ #include "mbed.h" -#include "servo.h" + DigitalIn start_sw(p25); @@ -46,8 +46,6 @@ int main(){ motor_up.period_us(20); motor_down.period_us(20); - master.baud(115200); - master.format(8,Serial::Even,1); can_sub.attach_us(&receive,20000); can1.frequency(1000000);