Chen Huan
/
MotorPID
闭环步进电机
GUI.h@1:cbd6a3232d5b, 2018-04-05 (annotated)
- Committer:
- heroistired
- Date:
- Thu Apr 05 01:37:17 2018 +0000
- Revision:
- 1:cbd6a3232d5b
New
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
heroistired | 1:cbd6a3232d5b | 1 | #ifndef __GUI_H |
heroistired | 1:cbd6a3232d5b | 2 | #define __GUI_H |
heroistired | 1:cbd6a3232d5b | 3 | #include "mbed.h" |
heroistired | 1:cbd6a3232d5b | 4 | #include <string> |
heroistired | 1:cbd6a3232d5b | 5 | #include <sstream> |
heroistired | 1:cbd6a3232d5b | 6 | |
heroistired | 1:cbd6a3232d5b | 7 | void InitGUI(Serial *Screen); |
heroistired | 1:cbd6a3232d5b | 8 | |
heroistired | 1:cbd6a3232d5b | 9 | void RefreshGUI(Serial *Screen, int freq, float kp, float ki, int goal, int pos); |
heroistired | 1:cbd6a3232d5b | 10 | |
heroistired | 1:cbd6a3232d5b | 11 | void DS16(Serial *Screen, int x, int y, string str, int color); |
heroistired | 1:cbd6a3232d5b | 12 | |
heroistired | 1:cbd6a3232d5b | 13 | void DS24(Serial *Screen, int x, int y, string str, int color); |
heroistired | 1:cbd6a3232d5b | 14 | |
heroistired | 1:cbd6a3232d5b | 15 | void SXY(Serial *Screen, int x,int y); |
heroistired | 1:cbd6a3232d5b | 16 | |
heroistired | 1:cbd6a3232d5b | 17 | void CLS(Serial *Screen, int color); |
heroistired | 1:cbd6a3232d5b | 18 | |
heroistired | 1:cbd6a3232d5b | 19 | void ExecuteInstruction(Serial *Screen); |
heroistired | 1:cbd6a3232d5b | 20 | |
heroistired | 1:cbd6a3232d5b | 21 | void PL(Serial *Screen, int x1, int y1, int x2, int y2, int color); |
heroistired | 1:cbd6a3232d5b | 22 | |
heroistired | 1:cbd6a3232d5b | 23 | void PS(Serial *Screen, int x1, int y1, int color); |
heroistired | 1:cbd6a3232d5b | 24 | |
heroistired | 1:cbd6a3232d5b | 25 | string int2string(int x); |
heroistired | 1:cbd6a3232d5b | 26 | |
heroistired | 1:cbd6a3232d5b | 27 | string float2string(float x); |
heroistired | 1:cbd6a3232d5b | 28 | |
heroistired | 1:cbd6a3232d5b | 29 | |
heroistired | 1:cbd6a3232d5b | 30 | #endif |