24 lines
537 B
C
24 lines
537 B
C
/*
|
|
* Stairs lighting
|
|
* Copyright 2017 (c) Mark van Renswoude
|
|
*
|
|
* https://git.x2software.net/pub/Stairs
|
|
*/
|
|
#ifndef __VeryTinyBigChars
|
|
#define __VeryTinyBigChars
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
#define SSD1306_CharColumnWidth_32px 6
|
|
#define SSD1306_CharWidth_32px (3 * SSD1306_CharColumnWidth_32px)
|
|
|
|
void ssd1306_drawchar_32px(uint8_t x, uint16_t matrix);
|
|
|
|
|
|
// Draws a digit from 0 to 9, 32 pixels tall
|
|
void ssd1306_drawdigit_32px(uint8_t x, uint8_t value);
|
|
void ssd1306_drawplus_32px(uint8_t x);
|
|
void ssd1306_drawminus_32px(uint8_t x);
|
|
|
|
#endif |