-
Notifications
You must be signed in to change notification settings - Fork 0
/
lcd_window.h
26 lines (21 loc) · 1.24 KB
/
lcd_window.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef _LCD_WINDOW_H
#define _LCD_WINDOW_H
#define uchar unsigned char
extern void send_data(uchar device_n,uchar reg_n,uchar reg_mun); //主体在main.c中
extern void delayms(unsigned int ms); //主体在main.c中
extern uchar lcd_status; //lcd的窗口切换标志位,主体在main.c中
extern uchar qu_dong_qi;//驱动器类型,0为一般,1为风得控
int Lcd_control(char *cmd);//向LCD发送控制命令
int Lcd_set_val(char *cmd, int val);//向LCD对象发送数字
int Lcd_set_txt(char *cmd,unsigned short *real_data);//向LCD对象发送字符串
int ultrasonic_window(unsigned short *real_data);//刷新传感器窗口
int ultrasonic_window1(unsigned short *real_data);//刷新传感器窗口
int version_window(unsigned short *real_data);//刷新硬件版本窗口
int version_window1(unsigned short *real_data);//刷新硬件版本窗口
int motor_ctrl_window(unsigned short *real_data);//舵机控制窗口
int motor_ctrl_window1(unsigned short *real_data);//舵机控制窗口
int robot_ctrl_window(unsigned short *real_data);//整机控制窗口
int robot_ctrl_window1(unsigned short *real_data);//整机控制窗口
int Duojixianzhi_window(unsigned short *real_data);//舵机限制控制窗口
int biaoqing_window(void);//表情窗口
#endif