svoe
Dependencies: mbed mbed-STM32F103C8T6 MPU6050_1
system.h@3:8e8458f45d19, 2017-05-07 (annotated)
- Committer:
- Stas285
- Date:
- Sun May 07 08:37:22 2017 +0000
- Revision:
- 3:8e8458f45d19
- Parent:
- 1:e2a6e523bf1f
- Child:
- 4:904b737ef08a
wifi+echo scan+rc+921600
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Stas285 | 1:e2a6e523bf1f | 1 | //AnalogIn speed_in(PB_1); |
Stas285 | 1:e2a6e523bf1f | 2 | //AnalogIn turn_in(PB_0); |
Stas285 | 0:e9488589a8ee | 3 | |
Stas285 | 0:e9488589a8ee | 4 | void system_init(){ |
Stas285 | 0:e9488589a8ee | 5 | confSysClock(); //Configure system clock (72MHz HSE clock, 48MHz USB clock) |
Stas285 | 1:e2a6e523bf1f | 6 | pc.baud(115200); //(9600); |
Stas285 | 3:8e8458f45d19 | 7 | wifi.baud(921600); |
Stas285 | 0:e9488589a8ee | 8 | |
Stas285 | 0:e9488589a8ee | 9 | motor_init(); |
Stas285 | 0:e9488589a8ee | 10 | serva_init(); |
Stas285 | 0:e9488589a8ee | 11 | echo_init(); |
Stas285 | 0:e9488589a8ee | 12 | realtime_init(); |
Stas285 | 0:e9488589a8ee | 13 | motion_init(); |
Stas285 | 0:e9488589a8ee | 14 | wifi_init(); |
Stas285 | 0:e9488589a8ee | 15 | } |