mirror of
https://gitee.com/peng_zhihui/Dummy-Robot
synced 2025-11-04 20:49:40 +08:00
27 lines
576 B
C
27 lines
576 B
C
#ifndef LOOP_H
|
|
#define LOOP_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
/*---------------------------- C Scope ---------------------------*/
|
|
#include "stdint-gcc.h"
|
|
|
|
void Main();
|
|
void OnUartCmd(uint8_t* _data, uint16_t _len);
|
|
void OnCanCmd(uint8_t _cmd, uint8_t* _data, uint32_t _len);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
/*---------------------------- C++ Scope ---------------------------*/
|
|
#include <cstdio>
|
|
#include "Motor/motor.h"
|
|
#include "mt6816_stm32.h"
|
|
#include "tb67h450_stm32.h"
|
|
#include "encoder_calibrator_stm32.h"
|
|
#include "button_stm32.h"
|
|
#include "led_stm32.h"
|
|
|
|
#endif
|
|
#endif
|