#ifndef _BARCODE_SCANNER_H_
#define _BARCODE_SCANNER_H_

#include "TYW_stdint.h"
#include "api_RS485.h"
#include "R485_Communication_Matrix.h"
void UART_Put(uint32_t Value);
void UART_Put1(uint32_t Value);
void UART_Put2(uint32_t Value);
void Recv_Byte(void);
void Recv_Byte1(void);
void Recv_Byte2(void);
extern uint8_t GetDataCompare(void);
extern uint32_t readNum;
extern uint8_t  BarCode[256];
extern uint32_t readNum1;
extern uint8_t  BarCode1[256];
extern uint8_t sendmsg[8];
extern uint8_t nowdata[4];
extern uint8_t lastdata[4];
extern uint8_t checkresult;
extern uint8_t firstflag;
extern uint8_t zhenduanflag;
extern uint32_t key_value;
extern uint8_t key_array[4];
extern uint8_t seed_value[4];
extern uint8_t zhenduansendStep;
extern uint8_t clearOdoFlag;
extern uint8_t line_stdio;
extern uint8_t checknumwrong;
extern uint8_t powerstdio;
extern uint8_t Auto_ONOFF;
extern uint8_t comparestart;
extern uint8_t connectbleFlag;
extern uint8_t get_num_buf[34];
extern uint8_t blename[5];
//extern uint8_t recvflag111;
extern uint16_t lightnumber;
#endif