Merge remote-tracking branch 'origin/dev_aaron' into emulator
This commit is contained in:
2
common/.gitignore
vendored
Normal file
2
common/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# Temporary files
|
||||
*.swp
|
||||
@@ -1,7 +1,10 @@
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
// init functions
|
||||
bool ll_tft_init();
|
||||
|
||||
// draw functions
|
||||
void ll_tft_clear(uint16_t color);
|
||||
void ll_tft_draw_line(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color);
|
||||
void ll_tft_draw_pixel(uint16_t x,uint16_t y,uint16_t color);
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#define RED RGB(255,0,0)
|
||||
#define GREEN RGB(0,255,0)
|
||||
#define BLUE RGB(0,0,255)
|
||||
#define WHITE RGB(255,255,255)
|
||||
#define WHITE 0xF7BE
|
||||
#define BLACK RGB(0,0,0)
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user