add simple work with fonts (too small for this screen), still have some bugs with sprites in lower right corner

This commit is contained in:
Edward Emelianov
2023-05-11 00:36:10 +03:00
parent eda7d9127a
commit d88de360d0
16 changed files with 4917 additions and 64 deletions

View File

@@ -24,6 +24,7 @@
#include "hardware.h"
#include "i2c.h"
#include "proto.h"
#include "screen.h"
#include "strfunc.h"
#include "usb.h"
@@ -35,6 +36,8 @@ void sys_tick_handler(void){
++Tms;
}
// SPI setup done in `screen.h`
int main(void){
char inbuff[MAXSTRLEN+1];
if(StartHSE()){
@@ -112,6 +115,7 @@ int main(void){
const char *ans = cmd_parser(inbuff);
if(ans) USB_sendstr(ans);
}
process_screen();
//process_keys();
}
}