Uploaded project to git
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* SPI.h
|
||||
*
|
||||
* Created on: Apr 19, 2024
|
||||
* Author: maxime.rohmer
|
||||
*/
|
||||
|
||||
#ifndef SPI_H_
|
||||
#define SPI_H_
|
||||
|
||||
typedef struct Color_t{
|
||||
uint8_t Red;
|
||||
uint8_t Green;
|
||||
uint8_t Blue;
|
||||
}Color;
|
||||
|
||||
typedef struct Point_t{
|
||||
int X;
|
||||
int Y;
|
||||
}Point;
|
||||
|
||||
typedef struct Size_t{
|
||||
int Width;
|
||||
int Height;
|
||||
}Size;
|
||||
|
||||
typedef struct Rect_t{
|
||||
Point Position;
|
||||
Size Size;
|
||||
}Rectangle;
|
||||
|
||||
void ILI9341_Initial(void);
|
||||
void Refresh_Area(Rectangle area);
|
||||
void Draw_stars();
|
||||
void Resize_Window(Rectangle area);
|
||||
|
||||
#endif /* SPI_H_ */
|
||||
Reference in New Issue
Block a user