📄 control.h
字号:
struct PID_struct {float Kp;float Ti;float TD;float T;int speed;};#define PORTin 0x200#define PORTout 100int finish;float A,B,C;int msg;int check=1;//int motor_write(int &m);#ifndef _CONTROL_H__#define _CONTROL_H__#endif//#ifndef motor_MAJOR//#define motor_MAJOR 0 //#endif//#define count_t unsigned long//#define read_write_t long//extern int scull_major; //ssize_t motor_read (struct inode *inode, struct file *filp,// char *buf, count_t count);//ssize_t motor_write (struct inode *inode, struct file *filp,// const char *buf, count_t count);//int motor_open(struct inode *inode,struct file *filp);//void motor_release(struct inode *inode,struct file *filp);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -