闭环步进电机

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers GUI.h Source File

GUI.h

00001 #ifndef __GUI_H
00002 #define __GUI_H
00003 #include "mbed.h"
00004 #include <string> 
00005 #include <sstream>
00006 
00007 void InitGUI(Serial *Screen);
00008 
00009 void RefreshGUI(Serial *Screen, int freq, float kp, float ki, int goal, int pos);
00010 
00011 void DS16(Serial *Screen, int x, int y, string str, int color);
00012 
00013 void DS24(Serial *Screen, int x, int y, string str, int color);
00014 
00015 void SXY(Serial *Screen, int x,int y);
00016 
00017 void CLS(Serial *Screen, int color);
00018 
00019 void ExecuteInstruction(Serial *Screen);
00020 
00021 void PL(Serial *Screen, int x1, int y1, int x2, int y2, int color);
00022 
00023 void PS(Serial *Screen, int x1, int y1, int color);
00024 
00025 string int2string(int x);
00026 
00027 string float2string(float x);
00028 
00029 
00030 #endif