Files
wordclock/include/own_font.h
2023-10-31 16:18:07 +01:00

21 lines
1.2 KiB
C

#ifndef OWN_FONT_H
#define OWN_FONT_H
#include <Arduino.h>
uint8_t numbers_font[10][5] = {{0b00000111, 0b00000101, 0b00000101, 0b00000101, 0b00000111},
{0b00000001, 0b00000001, 0b00000001, 0b00000001, 0b00000001},
{0b00000111, 0b00000001, 0b00000111, 0b00000100, 0b00000111},
{0b00000111, 0b00000001, 0b00000111, 0b00000001, 0b00000111},
{0b00000101, 0b00000101, 0b00000111, 0b00000001, 0b00000001},
{0b00000111, 0b00000100, 0b00000111, 0b00000001, 0b00000111},
{0b00000111, 0b00000100, 0b00000111, 0b00000101, 0b00000111},
{0b00000111, 0b00000001, 0b00000001, 0b00000001, 0b00000001},
{0b00000111, 0b00000101, 0b00000111, 0b00000101, 0b00000111},
{0b00000111, 0b00000101, 0b00000111, 0b00000001, 0b00000111}};
uint8_t chars_font[2][5] = {{0b00000010, 0b00000010, 0b00000010, 0b00000010, 0b00000010},
{0b00000111, 0b00000101, 0b00000111, 0b00000100, 0b00000100}};
#endif /* OWN_FONT_H */