nodemcu-firmware/app/u8glib
TerryE 4ae52c232c Alpha working wersion for third party evaluation 2018-03-17 00:43:52 +00:00
..
Makefile Alpha working wersion for third party evaluation 2018-03-17 00:43:52 +00:00
README.md Add ImageMagic info. 2015-12-15 09:35:20 +03:00
u8g.h move comm drivers to u8g_glue.c 2016-09-20 23:59:23 +02:00
u8g_bitmap.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_circle.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_clip.c Update u8glib to v1.19.1 and add setContrast() (#1385) 2016-08-02 22:29:34 +02:00
u8g_com_api.c make delay optional 2016-01-29 18:52:38 +01:00
u8g_com_api_16gr.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_com_i2c.c Update u8glib to v1.19.1 and add setContrast() (#1385) 2016-08-02 22:29:34 +02:00
u8g_com_io.c Update u8glib to v1.19.1 and add setContrast() (#1385) 2016-08-02 22:29:34 +02:00
u8g_com_null.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_cursor.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_delay.c Update u8glib to v1.19.1 and add setContrast() (#1385) 2016-08-02 22:29:34 +02:00
u8g_dev_a2_micro_printer.c make delay optional 2016-01-29 18:52:38 +01:00
u8g_dev_flipdisc_2x7.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_gprof.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_ht1632.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_ili9325d_320x240.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_ks0108_128x64.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_lc7981_160x80.c Update u8glib to v1.19.1 and add setContrast() (#1385) 2016-08-02 22:29:34 +02:00
u8g_dev_lc7981_240x64.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_lc7981_240x128.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_lc7981_320x64.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_ld7032_60x32.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_null.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_pcd8544_84x48.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_pcf8812_96x65.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_sbn1661_122x32.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_ssd1306_64x48.c Update u8glib to v1.19.1 and add setContrast() (#1385) 2016-08-02 22:29:34 +02:00
u8g_dev_ssd1306_128x32.c Update u8glib to v1.19.1 and add setContrast() (#1385) 2016-08-02 22:29:34 +02:00
u8g_dev_ssd1306_128x64.c Update u8glib to v1.19.1 and add setContrast() (#1385) 2016-08-02 22:29:34 +02:00
u8g_dev_ssd1309_128x64.c update to u8glib 1.18.1 2015-07-19 23:22:50 +02:00
u8g_dev_ssd1322_nhd31oled_bw.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_ssd1322_nhd31oled_gr.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_ssd1325_nhd27oled_bw.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_ssd1325_nhd27oled_bw_new.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_ssd1325_nhd27oled_gr.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_ssd1325_nhd27oled_gr_new.c Update u8glib to v1.19.1 and add setContrast() (#1385) 2016-08-02 22:29:34 +02:00
u8g_dev_ssd1327_96x96_gr.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_ssd1351_128x128.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_ssd1353_160x128.c update to u8glib 1.18.1 2015-07-19 23:22:50 +02:00
u8g_dev_st7565_64128n.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_st7565_dogm128.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_st7565_dogm132.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_st7565_lm6059.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_st7565_lm6063.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_st7565_nhd_c12832.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_st7565_nhd_c12864.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_st7687_c144mvgd.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_st7920_128x64.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_st7920_192x32.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_st7920_202x32.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_t6963_128x64.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_t6963_128x128.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_t6963_240x64.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_t6963_240x128.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_tls8204_84x48.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_uc1601_c128032.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_uc1608_240x64.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_uc1608_240x128.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_uc1610_dogxl160.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_uc1611_dogm240.c Update u8glib to v1.19.1 and add setContrast() (#1385) 2016-08-02 22:29:34 +02:00
u8g_dev_uc1611_dogxl240.c Update u8glib to v1.19.1 and add setContrast() (#1385) 2016-08-02 22:29:34 +02:00
u8g_dev_uc1701_dogs102.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_dev_uc1701_mini12864.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_ellipse.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_font.c update to u8glib 1.18.1 2015-07-19 23:22:50 +02:00
u8g_font_data.c Update u8glib to v1.19.1 and add setContrast() (#1385) 2016-08-02 22:29:34 +02:00
u8g_line.c update to u8glib 1.18.1 2015-07-19 23:22:50 +02:00
u8g_ll_api.c update to u8glib 1.18.1 2015-07-19 23:22:50 +02:00
u8g_page.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_pb.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_pb8h1.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_pb8h1f.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_pb8h2.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_pb8h8.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_pb8v1.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_pb8v2.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_pb14v1.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_pb16h1.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_pb16h2.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_pb16v1.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_pb16v2.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_pb32h1.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_pbxh16.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_pbxh24.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_polygon.c revert local changes to u8glib 2015-07-16 21:31:00 +02:00
u8g_rect.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_rot.c Update u8glib to v1.19.1 and add setContrast() (#1385) 2016-08-02 22:29:34 +02:00
u8g_scale.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_state.c Update u8glib to v1.19.1 and add setContrast() (#1385) 2016-08-02 22:29:34 +02:00
u8g_u8toa.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_u16toa.c u8glib v1.17 2015-02-01 17:27:19 +01:00
u8g_virtual_screen.c update to u8glib 1.18.1 2015-07-19 23:22:50 +02:00

README.md

##U8glib package

Ported from https://github.com/olikraus/u8glib

Here is black magic with ImageMagic package for image conversion:

#!/bin/bash

mkdir out

for icon in *png; do
    convert $icon -depth 1 ./out/$(basename $icon .png)_1bpp.png
    if [[ "$icon" == *"black"* ]]; then
        convert ./out/$(basename $icon .png)_1bpp.png -background white -alpha Background ./out/$(basename $icon .png)_1bpp.xbm
    else
        convert ./out/$(basename $icon .png)_1bpp.png -background black -alpha Background ./out/$(basename $icon .png)_1bpp.xbm
    fi
    cat ./out/$(basename $icon .png)_1bpp.xbm | tr '\n' ' '  | tr -d " " |sed  -e s'#^.*{##g'  | sed s'#,}##' |sed s'/;//' | xxd -r -p > ./out/$(basename $icon .png).xbm.mono
done

rm out/*png out/*xbm

Convert all the png in the current folder and put resulting .mono to ./out

The convert binary is a part of ImageMagic package. You need to install it.

sudo apt-get install imagemagick

for Debian/Ubuntu.