|
@@ -8,11 +8,20 @@ void u8g2_Setup_custom_i2c_noname_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x
|
|
|
{
|
|
{
|
|
|
uint8_t tile_buf_height;
|
|
uint8_t tile_buf_height;
|
|
|
uint8_t *buf;
|
|
uint8_t *buf;
|
|
|
- // u8g2_SetupDisplay(u8g2, u8x8_d_custom_128x64_noname, u8x8_cad_custom_fast_i2c, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
|
|
+ // u8g2_SetupDisplay(u8g2, u8x8_d_custom_noname, u8x8_cad_custom_fast_i2c, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_ssd1306_128x64_noname, u8x8_cad_ssd13xx_fast_i2c, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_16_8_f(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+void u8g2_Setup_custom_noname_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ // u8g2_SetupDisplay(u8g2, u8x8_d_custom_noname, u8x8_cad_001, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_ssd1306_128x64_noname, u8x8_cad_001, byte_cb, gpio_and_delay_cb);
|
|
|
buf = u8g2_m_16_8_f(&tile_buf_height);
|
|
buf = u8g2_m_16_8_f(&tile_buf_height);
|
|
|
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
/* ssd1305 */
|
|
/* ssd1305 */
|
|
|
/* ssd1305 1 */
|
|
/* ssd1305 1 */
|
|
|
void u8g2_Setup_ssd1305_128x32_noname_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
void u8g2_Setup_ssd1305_128x32_noname_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
@@ -7819,6 +7828,34 @@ void u8g2_Setup_sed1330_240x128_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_
|
|
|
buf = u8g2_m_30_16_f(&tile_buf_height);
|
|
buf = u8g2_m_30_16_f(&tile_buf_height);
|
|
|
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_horizontal_right_lsb, rotation);
|
|
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_horizontal_right_lsb, rotation);
|
|
|
}
|
|
}
|
|
|
|
|
+/* sed1330 */
|
|
|
|
|
+/* sed1330 1 */
|
|
|
|
|
+void u8g2_Setup_sed1330_256x128_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_sed1330_256x128, u8x8_cad_100, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_32_16_1(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_horizontal_right_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+/* sed1330 2 */
|
|
|
|
|
+void u8g2_Setup_sed1330_256x128_2(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_sed1330_256x128, u8x8_cad_100, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_32_16_2(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_horizontal_right_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+/* sed1330 f */
|
|
|
|
|
+void u8g2_Setup_sed1330_256x128_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_sed1330_256x128, u8x8_cad_100, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_32_16_f(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_horizontal_right_lsb, rotation);
|
|
|
|
|
+}
|
|
|
/* ra8835 */
|
|
/* ra8835 */
|
|
|
/* ra8835 1 */
|
|
/* ra8835 1 */
|
|
|
void u8g2_Setup_ra8835_nhd_240x128_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
void u8g2_Setup_ra8835_nhd_240x128_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
@@ -7875,6 +7912,34 @@ void u8g2_Setup_ra8835_320x240_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_m
|
|
|
buf = u8g2_m_40_30_f(&tile_buf_height);
|
|
buf = u8g2_m_40_30_f(&tile_buf_height);
|
|
|
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_horizontal_right_lsb, rotation);
|
|
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_horizontal_right_lsb, rotation);
|
|
|
}
|
|
}
|
|
|
|
|
+/* sed1330 */
|
|
|
|
|
+/* sed1330 1 */
|
|
|
|
|
+void u8g2_Setup_sed1330_320x200_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_sed1330_320x200, u8x8_cad_100, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_40_25_1(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_horizontal_right_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+/* sed1330 2 */
|
|
|
|
|
+void u8g2_Setup_sed1330_320x200_2(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_sed1330_320x200, u8x8_cad_100, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_40_25_2(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_horizontal_right_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+/* sed1330 f */
|
|
|
|
|
+void u8g2_Setup_sed1330_320x200_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_sed1330_320x200, u8x8_cad_100, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_40_25_f(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_horizontal_right_lsb, rotation);
|
|
|
|
|
+}
|
|
|
/* max7219 */
|
|
/* max7219 */
|
|
|
/* max7219 1 */
|
|
/* max7219 1 */
|
|
|
void u8g2_Setup_max7219_64x8_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
void u8g2_Setup_max7219_64x8_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
@@ -7959,6 +8024,34 @@ void u8g2_Setup_max7219_8x8_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_
|
|
|
buf = u8g2_m_1_1_f(&tile_buf_height);
|
|
buf = u8g2_m_1_1_f(&tile_buf_height);
|
|
|
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_horizontal_right_lsb, rotation);
|
|
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_horizontal_right_lsb, rotation);
|
|
|
}
|
|
}
|
|
|
|
|
+/* s1d15300 */
|
|
|
|
|
+/* s1d15300 1 */
|
|
|
|
|
+void u8g2_Setup_s1d15300_lm6023_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_s1d15300_lm6023, u8x8_cad_011, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_16_8_1(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+/* s1d15300 2 */
|
|
|
|
|
+void u8g2_Setup_s1d15300_lm6023_2(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_s1d15300_lm6023, u8x8_cad_011, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_16_8_2(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+/* s1d15300 f */
|
|
|
|
|
+void u8g2_Setup_s1d15300_lm6023_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_s1d15300_lm6023, u8x8_cad_011, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_16_8_f(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
|
|
+}
|
|
|
/* s1d15e06 */
|
|
/* s1d15e06 */
|
|
|
/* s1d15e06 1 */
|
|
/* s1d15e06 1 */
|
|
|
void u8g2_Setup_s1d15e06_160100_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
void u8g2_Setup_s1d15e06_160100_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
@@ -8043,6 +8136,118 @@ void u8g2_Setup_gu800_128x64_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg
|
|
|
buf = u8g2_m_16_8_f(&tile_buf_height);
|
|
buf = u8g2_m_16_8_f(&tile_buf_height);
|
|
|
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
}
|
|
}
|
|
|
|
|
+/* gu800 */
|
|
|
|
|
+/* gu800 1 */
|
|
|
|
|
+void u8g2_Setup_gu800_160x16_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_gu800_160x16, u8x8_gu800_cad_110, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_20_2_1(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+/* gu800 2 */
|
|
|
|
|
+void u8g2_Setup_gu800_160x16_2(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_gu800_160x16, u8x8_gu800_cad_110, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_20_2_2(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+/* gu800 f */
|
|
|
|
|
+void u8g2_Setup_gu800_160x16_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_gu800_160x16, u8x8_gu800_cad_110, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_20_2_f(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+/* gp1287ai */
|
|
|
|
|
+/* gp1287ai 1 */
|
|
|
|
|
+void u8g2_Setup_gp1287ai_256x50_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_gp1287ai_256x50, u8x8_cad_empty, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_32_7_1(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+/* gp1287ai 2 */
|
|
|
|
|
+void u8g2_Setup_gp1287ai_256x50_2(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_gp1287ai_256x50, u8x8_cad_empty, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_32_7_2(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+/* gp1287ai f */
|
|
|
|
|
+void u8g2_Setup_gp1287ai_256x50_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_gp1287ai_256x50, u8x8_cad_empty, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_32_7_f(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+/* gp1247ai */
|
|
|
|
|
+/* gp1247ai 1 */
|
|
|
|
|
+void u8g2_Setup_gp1247ai_253x63_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_gp1247ai_253x63, u8x8_cad_empty, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_32_8_1(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+/* gp1247ai 2 */
|
|
|
|
|
+void u8g2_Setup_gp1247ai_253x63_2(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_gp1247ai_253x63, u8x8_cad_empty, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_32_8_2(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+/* gp1247ai f */
|
|
|
|
|
+void u8g2_Setup_gp1247ai_253x63_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_gp1247ai_253x63, u8x8_cad_empty, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_32_8_f(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+/* gp1294ai */
|
|
|
|
|
+/* gp1294ai 1 */
|
|
|
|
|
+void u8g2_Setup_gp1294ai_256x48_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_gp1294ai_256x48, u8x8_cad_empty, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_32_6_1(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+/* gp1294ai 2 */
|
|
|
|
|
+void u8g2_Setup_gp1294ai_256x48_2(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_gp1294ai_256x48, u8x8_cad_empty, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_32_6_2(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
|
|
+}
|
|
|
|
|
+/* gp1294ai f */
|
|
|
|
|
+void u8g2_Setup_gp1294ai_256x48_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
|
|
|
+{
|
|
|
|
|
+ uint8_t tile_buf_height;
|
|
|
|
|
+ uint8_t *buf;
|
|
|
|
|
+ u8g2_SetupDisplay(u8g2, u8x8_d_gp1294ai_256x48, u8x8_cad_empty, byte_cb, gpio_and_delay_cb);
|
|
|
|
|
+ buf = u8g2_m_32_6_f(&tile_buf_height);
|
|
|
|
|
+ u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
|
|
|
|
+}
|
|
|
/* a2printer */
|
|
/* a2printer */
|
|
|
/* a2printer 1 */
|
|
/* a2printer 1 */
|
|
|
void u8g2_Setup_a2printer_384x240_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
|
void u8g2_Setup_a2printer_384x240_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|