M12-04P/hwCtrl.h
2023-03-08 17:09:22 +08:00

19 lines
274 B
C

#ifndef __HWCTRL_H__
#define __HWCTRL_H__
#include "r_cg_macrodriver.h"
#define LED_ON 0
#define LED_OFF 1
#define MOTOR_NOACT 0
#define MOTOR_ZZ 1
#define MOTOR_FZ 2
#define MOTOR_BREAK 3
uint8_t GetKeyState(uint8_t keyno);
void MotorCtrl(uint8_t act);
#endif