playground project testing RP2040 (Pico) with SSD1309 2.42" OLED from AliExpress
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pico-ssd1309-test/ufb/fontedit_gen_table.c

15 lines
303 B

2 years ago
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
void main() {
printf("const char* symbols[] = {\n");
for(int c = 32; c < 127; c++) {
printf(" // %d \"%c\"\n", c, c);
for(int j=0;j<5;j++){
printf(" \" \",\n");
}
}
printf("};\n");
}