闭环步进电机

Dependencies:   mbed

GUI.h

Committer:
heroistired
Date:
2018-04-05
Revision:
1:cbd6a3232d5b

File content as of revision 1:cbd6a3232d5b:

#ifndef __GUI_H
#define __GUI_H
#include "mbed.h"
#include <string> 
#include <sstream>

void InitGUI(Serial *Screen);

void RefreshGUI(Serial *Screen, int freq, float kp, float ki, int goal, int pos);

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);

void PS(Serial *Screen, int x1, int y1, int color);

string int2string(int x);

string float2string(float x);


#endif