|
@@ -91,9 +91,8 @@ int main(void) {
|
|
|
ST7735_Init();
|
|
|
// draw tests
|
|
|
ST7735_FillScreen(Black);
|
|
|
- ST7735_DrawPixel(10, 10, Silver);
|
|
|
- ST7735_FillRectangle(5, 63, 150, 1);
|
|
|
- ST7735_FillRectangle(159, 5, 1, 117);
|
|
|
+ ST7735_FillRectangle(ST7735_XSTART, ST7735_HEIGHT/2, ST7735_WIDTH, 1, Green);
|
|
|
+ ST7735_FillRectangle(ST7735_WIDTH/2, ST7735_YSTART, 1, ST7735_HEIGHT, Yellow);
|
|
|
|
|
|
/*
|
|
|
* Normal main() thread activity.
|