This commit is contained in:
kraus 2019-06-20 09:31:18 +02:00
parent 7e086293cf
commit e70101f789
2 changed files with 7 additions and 3 deletions

View File

@ -58,7 +58,7 @@ static const uint8_t u8x8_d_ssd1316_128x32_powersave1_seq[] = {
static const uint8_t u8x8_d_ssd1316_128x32_flip0_seq[] = {
U8X8_START_TRANSFER(), /* enable chip, delay is part of the transfer start */
U8X8_C(0x0a1), /* segment remap a0/a1*/
U8X8_C(0x0c8), /* c0: scan dir normal, c8: reverse */
U8X8_C(0x0c0), /* c0: scan dir normal, c8: reverse */
U8X8_END_TRANSFER(), /* disable chip */
U8X8_END() /* end of sequence */
};
@ -66,7 +66,7 @@ static const uint8_t u8x8_d_ssd1316_128x32_flip0_seq[] = {
static const uint8_t u8x8_d_ssd1316_128x32_flip1_seq[] = {
U8X8_START_TRANSFER(), /* enable chip, delay is part of the transfer start */
U8X8_C(0x0a0), /* segment remap a0/a1*/
U8X8_C(0x0c0), /* c0: scan dir normal, c8: reverse */
U8X8_C(0x0c8), /* c0: scan dir normal, c8: reverse */
U8X8_END_TRANSFER(), /* disable chip */
U8X8_END() /* end of sequence */
};
@ -163,7 +163,7 @@ static const uint8_t u8x8_d_ssd1316_128x32_init_seq[] = {
U8X8_CA(0x0a8, 0x01f), /* multiplex ratio, duty = 1/32 */
U8X8_C(0x0a1), /* segment remap a0/a1*/
U8X8_C(0x0c8), /* c0: scan dir normal, c8: reverse */
U8X8_C(0x0c0), /* c0: scan dir normal, c8: reverse */
U8X8_CA(0x0d3, 0x000), /* display offset */
U8X8_CA(0x0d5, 0x080), /* clock divide ratio (0x00=1) and oscillator frequency (0x8) */

View File

@ -200,6 +200,10 @@ wqy: bdfconv
ncenR24: bdfconv
./bdfconv -v -f 1 -b 0 -m '32-701>32,7838' ../bdf/ncenR24.bdf -n u8g2_font_ncenR24_te -o test.c
profont12v2: bdfconv
#./bdfconv -v -f 1 -b 0 -m '32-701>32,7838' ../bdf/profont12v2.bdf -n u8g2_font_profont12v2_te -o test.c
./bdfconv -v -f 1 -b 0 -m '32-127' ../bdf/profont12v2.bdf -n u8g2_font_profont12v2_tr -o test.c
# http://stackoverflow.com/questions/713397/what-is-a-minimal-set-of-unicode-characters-for-reasonable-japanese-support