svoe
Dependencies: mbed mbed-STM32F103C8T6 MPU6050_1
system.h@15:960b922433d1, 2018-12-01 (annotated)
- Committer:
- Stas285
- Date:
- Sat Dec 01 14:25:04 2018 +0000
- Revision:
- 15:960b922433d1
- Parent:
- 9:8f98b1c277a4
- Child:
- 17:bd6b6ac89e0e
- Child:
- 18:af32a5e7e8ae
coord_ready
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 | 4:904b737ef08a | 6 | //NVIC_SetPriority(TIM3_IRQn,255); |
Stas285 | 15:960b922433d1 | 7 | sound_out.baud(9600); //(115200); |
Stas285 | 15:960b922433d1 | 8 | sound_in.baud(9600); |
Stas285 | 3:8e8458f45d19 | 9 | wifi.baud(921600); |
Stas285 | 0:e9488589a8ee | 10 | |
Stas285 | 0:e9488589a8ee | 11 | motor_init(); |
Stas285 | 0:e9488589a8ee | 12 | serva_init(); |
Stas285 | 0:e9488589a8ee | 13 | echo_init(); |
Stas285 | 4:904b737ef08a | 14 | gyro_init(); |
Stas285 | 0:e9488589a8ee | 15 | realtime_init(); |
Stas285 | 15:960b922433d1 | 16 | //motion_init(); |
Stas285 | 0:e9488589a8ee | 17 | wifi_init(); |
Stas285 | 0:e9488589a8ee | 18 | } |