20 lines
212 B
C
20 lines
212 B
C
|
#include "ch.h"
|
||
|
#include "hal.h"
|
||
|
#include "gdisp.h"
|
||
|
|
||
|
int main(void) {
|
||
|
halInit();
|
||
|
chSysInit();
|
||
|
|
||
|
gdispInit();
|
||
|
gdispClear(Black);
|
||
|
|
||
|
// gdispDrawXXX(...);
|
||
|
|
||
|
while (TRUE) {
|
||
|
|
||
|
chThdSleepMilliseconds(100);
|
||
|
}
|
||
|
}
|
||
|
|