mirror of
https://github.com/DashyFox/StackSport.git
synced 2025-06-28 05:09:32 +00:00
firstTest
This commit is contained in:
19
Core/Inc/IR.h
Normal file
19
Core/Inc/IR.h
Normal file
@ -0,0 +1,19 @@
|
||||
#include "stm32f1xx_hal.h"
|
||||
|
||||
#define STATUS_START 0
|
||||
#define STATUS_COMMAND 1
|
||||
#define STATUS_ADDRESS 2
|
||||
#define STATUS_REPEAT 3
|
||||
#define STATUS_ERROR 10
|
||||
|
||||
extern unsigned char IR_Command;
|
||||
extern unsigned char IR_Address;
|
||||
|
||||
extern unsigned char IR_CommandNumber[3];
|
||||
extern unsigned char IRStatus;
|
||||
|
||||
void IR_handler(void);
|
||||
void ClearIRStatus(void);
|
||||
void ClearIRCommand(void);
|
||||
void ClearIR(void);
|
||||
void SetShiftReg (unsigned char shiftreg[3]);
|
Reference in New Issue
Block a user