Chen Huan
/
UsartGPU
Stewart Platform GUI v1.0 Developed by C.H. Dep of EEA
GUI.h
- Committer:
- heroistired
- Date:
- 2017-12-09
- Revision:
- 0:2dfaf5bab3ee
File content as of revision 0:2dfaf5bab3ee:
#ifndef __GUI_H #define __GUI_H #include "mbed.h" #include <string> #include <sstream> void InitGUI(Serial *Screen); void RefreshGUI(Serial *Screen, float Servo1, float Servo2, float Servo3, float Servo4, float Servo5, float Servo6, float Bar1, float Bar2, float Bar3, float Bar4, float Bar5, float Bar6); void DS16(Serial *Screen, int x, int y, string str, int color); void DS24(Serial *Screen, int x, int y, string str, int color); void SXY(Serial *Screen, int x,int y); void CLS(Serial *Screen, int color); void ExecuteInstruction(Serial *Screen); void PL(Serial *Screen, int x1, int y1, int x2, int y2, int color); string int2string(int x); string float2string(float x); #endif