Merge remote-tracking branch 'origin/dev_aaron' into emulator

This commit is contained in:
t-moe
2015-05-11 20:57:59 +02:00
7 changed files with 861 additions and 31 deletions

2
common/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
# Temporary files
*.swp

View File

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

View File

@@ -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)
/**