graphic.c graphic.h SED1335-STM32.c sed1335.c sed1335.h
GLCD_Initialize(); GLCD_ClearGraphic(); GLCD_CircleSS(80,80,60,-90,90); GLCD_ClearText(); GLCD_TextGoTo(7,12); GLCD_WriteText("5.6 kg/cm2");
// #define SED1335_PORT GPIOA #define SED1335_A0 GPIO_Pin_10 #define SED1335_WR GPIO_Pin_8 #define SED1335_RD GPIO_Pin_9 #define SED1335_CS GPIO_Pin_11 #define SED1335_RES GPIO_Pin_12 #define SED1335_D0 0
// void GLCD_InitPorts(void) void GLCD_WriteData(unsigned char dataToWrite) void GLCD_WriteCommand(unsigned char commandToWrite) unsigned char GLCD_ReadData(void) unsigned char GLCD_ReadByteFromROMMemory(unsigned char * ptr)
void GLCD_Rectangle(unsigned int x, unsigned int y, unsigned int b, unsigned int a);// void GLCD_Circle(unsigned int cx, unsigned int cy ,unsigned int radius); // void GLCD_Line(int X1, int Y1,int X2,int Y2); // void GLCD_SetPixel(unsigned int x,unsigned int y, int color) // void GLCD_WriteText(char * tekst) // void GLCD_WriteTextP(char * tekst), // void GLCD_SetCursorAddress(unsigned int address) // void GLCD_TextGoTo(unsigned char x, unsigned char y) //, void GLCD_GraphicGoTo(unsigned int x, unsigned int y) // void GLCD_ClearText(void), // void GLCD_ClearGraphic(void), // void GLCD_Bitmap(char * bmp, int x, int y, int width, int height) //
Source: https://habr.com/ru/post/233405/
All Articles