issue #2421
This commit is contained in:
parent
e021ffd9e5
commit
b81e03c980
|
@ -11706,6 +11706,96 @@ class U8G2_PCF8812_96X65_F_3W_HW_SPI : public U8G2 {
|
||||||
u8x8_SetPin_3Wire_HW_SPI(getU8x8(), cs, reset);
|
u8x8_SetPin_3Wire_HW_SPI(getU8x8(), cs, reset);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
class U8G2_PCF8812_101X64_1_4W_SW_SPI : public U8G2 {
|
||||||
|
public: U8G2_PCF8812_101X64_1_4W_SW_SPI(const u8g2_cb_t *rotation, uint8_t clock, uint8_t data, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
||||||
|
u8g2_Setup_pcf8812_101x64_1(&u8g2, rotation, u8x8_byte_arduino_4wire_sw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_4Wire_SW_SPI(getU8x8(), clock, data, cs, dc, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8G2_PCF8812_101X64_1_4W_HW_SPI : public U8G2 {
|
||||||
|
public: U8G2_PCF8812_101X64_1_4W_HW_SPI(const u8g2_cb_t *rotation, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
||||||
|
u8g2_Setup_pcf8812_101x64_1(&u8g2, rotation, u8x8_byte_arduino_hw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_4Wire_HW_SPI(getU8x8(), cs, dc, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8G2_PCF8812_101X64_1_2ND_4W_HW_SPI : public U8G2 {
|
||||||
|
public: U8G2_PCF8812_101X64_1_2ND_4W_HW_SPI(const u8g2_cb_t *rotation, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
||||||
|
u8g2_Setup_pcf8812_101x64_1(&u8g2, rotation, u8x8_byte_arduino_2nd_hw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_4Wire_HW_SPI(getU8x8(), cs, dc, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8G2_PCF8812_101X64_1_3W_SW_SPI : public U8G2 {
|
||||||
|
public: U8G2_PCF8812_101X64_1_3W_SW_SPI(const u8g2_cb_t *rotation, uint8_t clock, uint8_t data, uint8_t cs, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
||||||
|
u8g2_Setup_pcf8812_101x64_1(&u8g2, rotation, u8x8_byte_arduino_3wire_sw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_3Wire_SW_SPI(getU8x8(), clock, data, cs, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8G2_PCF8812_101X64_1_3W_HW_SPI : public U8G2 {
|
||||||
|
public: U8G2_PCF8812_101X64_1_3W_HW_SPI(const u8g2_cb_t *rotation, uint8_t cs, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
||||||
|
u8g2_Setup_pcf8812_101x64_1(&u8g2, rotation, u8x8_byte_arduino_3wire_hw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_3Wire_HW_SPI(getU8x8(), cs, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8G2_PCF8812_101X64_2_4W_SW_SPI : public U8G2 {
|
||||||
|
public: U8G2_PCF8812_101X64_2_4W_SW_SPI(const u8g2_cb_t *rotation, uint8_t clock, uint8_t data, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
||||||
|
u8g2_Setup_pcf8812_101x64_2(&u8g2, rotation, u8x8_byte_arduino_4wire_sw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_4Wire_SW_SPI(getU8x8(), clock, data, cs, dc, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8G2_PCF8812_101X64_2_4W_HW_SPI : public U8G2 {
|
||||||
|
public: U8G2_PCF8812_101X64_2_4W_HW_SPI(const u8g2_cb_t *rotation, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
||||||
|
u8g2_Setup_pcf8812_101x64_2(&u8g2, rotation, u8x8_byte_arduino_hw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_4Wire_HW_SPI(getU8x8(), cs, dc, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8G2_PCF8812_101X64_2_2ND_4W_HW_SPI : public U8G2 {
|
||||||
|
public: U8G2_PCF8812_101X64_2_2ND_4W_HW_SPI(const u8g2_cb_t *rotation, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
||||||
|
u8g2_Setup_pcf8812_101x64_2(&u8g2, rotation, u8x8_byte_arduino_2nd_hw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_4Wire_HW_SPI(getU8x8(), cs, dc, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8G2_PCF8812_101X64_2_3W_SW_SPI : public U8G2 {
|
||||||
|
public: U8G2_PCF8812_101X64_2_3W_SW_SPI(const u8g2_cb_t *rotation, uint8_t clock, uint8_t data, uint8_t cs, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
||||||
|
u8g2_Setup_pcf8812_101x64_2(&u8g2, rotation, u8x8_byte_arduino_3wire_sw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_3Wire_SW_SPI(getU8x8(), clock, data, cs, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8G2_PCF8812_101X64_2_3W_HW_SPI : public U8G2 {
|
||||||
|
public: U8G2_PCF8812_101X64_2_3W_HW_SPI(const u8g2_cb_t *rotation, uint8_t cs, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
||||||
|
u8g2_Setup_pcf8812_101x64_2(&u8g2, rotation, u8x8_byte_arduino_3wire_hw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_3Wire_HW_SPI(getU8x8(), cs, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8G2_PCF8812_101X64_F_4W_SW_SPI : public U8G2 {
|
||||||
|
public: U8G2_PCF8812_101X64_F_4W_SW_SPI(const u8g2_cb_t *rotation, uint8_t clock, uint8_t data, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
||||||
|
u8g2_Setup_pcf8812_101x64_f(&u8g2, rotation, u8x8_byte_arduino_4wire_sw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_4Wire_SW_SPI(getU8x8(), clock, data, cs, dc, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8G2_PCF8812_101X64_F_4W_HW_SPI : public U8G2 {
|
||||||
|
public: U8G2_PCF8812_101X64_F_4W_HW_SPI(const u8g2_cb_t *rotation, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
||||||
|
u8g2_Setup_pcf8812_101x64_f(&u8g2, rotation, u8x8_byte_arduino_hw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_4Wire_HW_SPI(getU8x8(), cs, dc, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8G2_PCF8812_101X64_F_2ND_4W_HW_SPI : public U8G2 {
|
||||||
|
public: U8G2_PCF8812_101X64_F_2ND_4W_HW_SPI(const u8g2_cb_t *rotation, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
||||||
|
u8g2_Setup_pcf8812_101x64_f(&u8g2, rotation, u8x8_byte_arduino_2nd_hw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_4Wire_HW_SPI(getU8x8(), cs, dc, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8G2_PCF8812_101X64_F_3W_SW_SPI : public U8G2 {
|
||||||
|
public: U8G2_PCF8812_101X64_F_3W_SW_SPI(const u8g2_cb_t *rotation, uint8_t clock, uint8_t data, uint8_t cs, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
||||||
|
u8g2_Setup_pcf8812_101x64_f(&u8g2, rotation, u8x8_byte_arduino_3wire_sw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_3Wire_SW_SPI(getU8x8(), clock, data, cs, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8G2_PCF8812_101X64_F_3W_HW_SPI : public U8G2 {
|
||||||
|
public: U8G2_PCF8812_101X64_F_3W_HW_SPI(const u8g2_cb_t *rotation, uint8_t cs, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
||||||
|
u8g2_Setup_pcf8812_101x64_f(&u8g2, rotation, u8x8_byte_arduino_3wire_hw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_3Wire_HW_SPI(getU8x8(), cs, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
class U8G2_HX1230_96X68_1_4W_SW_SPI : public U8G2 {
|
class U8G2_HX1230_96X68_1_4W_SW_SPI : public U8G2 {
|
||||||
public: U8G2_HX1230_96X68_1_4W_SW_SPI(const u8g2_cb_t *rotation, uint8_t clock, uint8_t data, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
public: U8G2_HX1230_96X68_1_4W_SW_SPI(const u8g2_cb_t *rotation, uint8_t clock, uint8_t data, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
||||||
u8g2_Setup_hx1230_96x68_1(&u8g2, rotation, u8x8_byte_arduino_4wire_sw_spi, u8x8_gpio_and_delay_arduino);
|
u8g2_Setup_hx1230_96x68_1(&u8g2, rotation, u8x8_byte_arduino_4wire_sw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
|
|
@ -4173,6 +4173,36 @@ class U8X8_PCF8812_96X65_3W_HW_SPI : public U8X8 {
|
||||||
u8x8_SetPin_3Wire_HW_SPI(getU8x8(), cs, reset);
|
u8x8_SetPin_3Wire_HW_SPI(getU8x8(), cs, reset);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
class U8X8_PCF8812_101X64_4W_SW_SPI : public U8X8 {
|
||||||
|
public: U8X8_PCF8812_101X64_4W_SW_SPI(uint8_t clock, uint8_t data, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8X8() {
|
||||||
|
u8x8_Setup(getU8x8(), u8x8_d_pcf8812_101x64, u8x8_cad_001, u8x8_byte_arduino_4wire_sw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_4Wire_SW_SPI(getU8x8(), clock, data, cs, dc, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8X8_PCF8812_101X64_4W_HW_SPI : public U8X8 {
|
||||||
|
public: U8X8_PCF8812_101X64_4W_HW_SPI(uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8X8() {
|
||||||
|
u8x8_Setup(getU8x8(), u8x8_d_pcf8812_101x64, u8x8_cad_001, u8x8_byte_arduino_hw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_4Wire_HW_SPI(getU8x8(), cs, dc, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8X8_PCF8812_101X64_2ND_4W_HW_SPI : public U8X8 {
|
||||||
|
public: U8X8_PCF8812_101X64_2ND_4W_HW_SPI(uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8X8() {
|
||||||
|
u8x8_Setup(getU8x8(), u8x8_d_pcf8812_101x64, u8x8_cad_001, u8x8_byte_arduino_2nd_hw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_4Wire_HW_SPI(getU8x8(), cs, dc, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8X8_PCF8812_101X64_3W_SW_SPI : public U8X8 {
|
||||||
|
public: U8X8_PCF8812_101X64_3W_SW_SPI(uint8_t clock, uint8_t data, uint8_t cs, uint8_t reset = U8X8_PIN_NONE) : U8X8() {
|
||||||
|
u8x8_Setup(getU8x8(), u8x8_d_pcf8812_101x64, u8x8_cad_001, u8x8_byte_arduino_3wire_sw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_3Wire_SW_SPI(getU8x8(), clock, data, cs, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
class U8X8_PCF8812_101X64_3W_HW_SPI : public U8X8 {
|
||||||
|
public: U8X8_PCF8812_101X64_3W_HW_SPI(uint8_t cs, uint8_t reset = U8X8_PIN_NONE) : U8X8() {
|
||||||
|
u8x8_Setup(getU8x8(), u8x8_d_pcf8812_101x64, u8x8_cad_001, u8x8_byte_arduino_3wire_hw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
u8x8_SetPin_3Wire_HW_SPI(getU8x8(), cs, reset);
|
||||||
|
}
|
||||||
|
};
|
||||||
class U8X8_HX1230_96X68_4W_SW_SPI : public U8X8 {
|
class U8X8_HX1230_96X68_4W_SW_SPI : public U8X8 {
|
||||||
public: U8X8_HX1230_96X68_4W_SW_SPI(uint8_t clock, uint8_t data, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8X8() {
|
public: U8X8_HX1230_96X68_4W_SW_SPI(uint8_t clock, uint8_t data, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8X8() {
|
||||||
u8x8_Setup(getU8x8(), u8x8_d_hx1230_96x68, u8x8_cad_001, u8x8_byte_arduino_4wire_sw_spi, u8x8_gpio_and_delay_arduino);
|
u8x8_Setup(getU8x8(), u8x8_d_hx1230_96x68, u8x8_cad_001, u8x8_byte_arduino_4wire_sw_spi, u8x8_gpio_and_delay_arduino);
|
||||||
|
|
|
@ -1097,6 +1097,9 @@ void u8g2_Setup_pcd8544_84x48_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_ms
|
||||||
void u8g2_Setup_pcf8812_96x65_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb);
|
void u8g2_Setup_pcf8812_96x65_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb);
|
||||||
void u8g2_Setup_pcf8812_96x65_2(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb);
|
void u8g2_Setup_pcf8812_96x65_2(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb);
|
||||||
void u8g2_Setup_pcf8812_96x65_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb);
|
void u8g2_Setup_pcf8812_96x65_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb);
|
||||||
|
void u8g2_Setup_pcf8812_101x64_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb);
|
||||||
|
void u8g2_Setup_pcf8812_101x64_2(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb);
|
||||||
|
void u8g2_Setup_pcf8812_101x64_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb);
|
||||||
void u8g2_Setup_hx1230_96x68_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb);
|
void u8g2_Setup_hx1230_96x68_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb);
|
||||||
void u8g2_Setup_hx1230_96x68_2(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb);
|
void u8g2_Setup_hx1230_96x68_2(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb);
|
||||||
void u8g2_Setup_hx1230_96x68_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb);
|
void u8g2_Setup_hx1230_96x68_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb);
|
||||||
|
|
|
@ -3859,6 +3859,34 @@ void u8g2_Setup_pcf8812_96x65_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_ms
|
||||||
buf = u8g2_m_12_9_f(&tile_buf_height);
|
buf = u8g2_m_12_9_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);
|
||||||
}
|
}
|
||||||
|
/* pcf8812 */
|
||||||
|
/* pcf8812 1 */
|
||||||
|
void u8g2_Setup_pcf8812_101x64_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_pcf8812_101x64, u8x8_cad_001, byte_cb, gpio_and_delay_cb);
|
||||||
|
buf = u8g2_m_13_8_1(&tile_buf_height);
|
||||||
|
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
||||||
|
}
|
||||||
|
/* pcf8812 2 */
|
||||||
|
void u8g2_Setup_pcf8812_101x64_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_pcf8812_101x64, u8x8_cad_001, byte_cb, gpio_and_delay_cb);
|
||||||
|
buf = u8g2_m_13_8_2(&tile_buf_height);
|
||||||
|
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
||||||
|
}
|
||||||
|
/* pcf8812 f */
|
||||||
|
void u8g2_Setup_pcf8812_101x64_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_pcf8812_101x64, u8x8_cad_001, byte_cb, gpio_and_delay_cb);
|
||||||
|
buf = u8g2_m_13_8_f(&tile_buf_height);
|
||||||
|
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
||||||
|
}
|
||||||
/* hx1230 */
|
/* hx1230 */
|
||||||
/* hx1230 1 */
|
/* hx1230 1 */
|
||||||
void u8g2_Setup_hx1230_96x68_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
void u8g2_Setup_hx1230_96x68_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_msg_cb byte_cb, u8x8_msg_cb gpio_and_delay_cb)
|
||||||
|
|
|
@ -1008,6 +1008,7 @@ uint8_t u8x8_d_sbn1661_122x32(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *
|
||||||
uint8_t u8x8_d_sed1520_122x32(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr);
|
uint8_t u8x8_d_sed1520_122x32(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr);
|
||||||
uint8_t u8x8_d_pcd8544_84x48(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr);
|
uint8_t u8x8_d_pcd8544_84x48(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr);
|
||||||
uint8_t u8x8_d_pcf8812_96x65(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr);
|
uint8_t u8x8_d_pcf8812_96x65(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr);
|
||||||
|
uint8_t u8x8_d_pcf8812_101x64(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr);
|
||||||
uint8_t u8x8_d_hx1230_96x68(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr);
|
uint8_t u8x8_d_hx1230_96x68(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr);
|
||||||
uint8_t u8x8_d_ssd1606_172x72(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr);
|
uint8_t u8x8_d_ssd1606_172x72(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr);
|
||||||
uint8_t u8x8_d_ssd1607_200x200(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr);
|
uint8_t u8x8_d_ssd1607_200x200(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr);
|
||||||
|
|
|
@ -191,3 +191,38 @@ uint8_t u8x8_d_pcf8812_96x65(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *a
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* https://github.com/olikraus/u8g2/issues/2421 */
|
||||||
|
static const u8x8_display_info_t u8x8_pcf8812_101x64_display_info =
|
||||||
|
{
|
||||||
|
/* chip_enable_level = */ 0,
|
||||||
|
/* chip_disable_level = */ 1,
|
||||||
|
|
||||||
|
/* post_chip_enable_wait_ns = */ 100,
|
||||||
|
/* pre_chip_disable_wait_ns = */ 100,
|
||||||
|
/* reset_pulse_width_ms = */ 100,
|
||||||
|
/* post_reset_wait_ms = */ 100,
|
||||||
|
/* sda_setup_time_ns = */ 100,
|
||||||
|
/* sck_pulse_width_ns = */ 100,
|
||||||
|
/* sck_clock_hz = */ 4000000UL, /* since Arduino 1.6.0, the SPI bus speed in Hz. Should be 1000000000/sck_pulse_width_ns */
|
||||||
|
/* spi_mode = */ 0, /* active high, rising edge */
|
||||||
|
/* i2c_bus_clock_100kHz = */ 4,
|
||||||
|
/* data_setup_time_ns = */ 40,
|
||||||
|
/* write_pulse_width_ns = */ 150,
|
||||||
|
/* tile_width = */ 13,
|
||||||
|
/* tile_height = */ 8,
|
||||||
|
/* default_x_offset = */ 0,
|
||||||
|
/* flipmode_x_offset = */ 0,
|
||||||
|
/* pixel_width = */ 101,
|
||||||
|
/* pixel_height = */ 64
|
||||||
|
};
|
||||||
|
|
||||||
|
uint8_t u8x8_d_pcf8812_101x64(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr)
|
||||||
|
{
|
||||||
|
if ( msg == U8X8_MSG_DISPLAY_SETUP_MEMORY )
|
||||||
|
{
|
||||||
|
u8x8_d_helper_display_setup_memory(u8x8, &u8x8_pcf8812_101x64_display_info);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
return u8x8_d_pcf8812_96x65_generic(u8x8, msg, arg_int, arg_ptr);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -1031,6 +1031,14 @@ struct controller controller_list[] =
|
||||||
{ NULL }
|
{ NULL }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"pcf8812", 13, 8, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_001", "", COM_4WSPI|COM_3WSPI,
|
||||||
|
"No HW flip", /* is_generate_u8g2_class= */ 1,
|
||||||
|
{
|
||||||
|
{ "101x64" },
|
||||||
|
{ NULL }
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"hx1230", 12, 9, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_001", "", COM_4WSPI|COM_3WSPI,
|
"hx1230", 12, 9, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_001", "", COM_4WSPI|COM_3WSPI,
|
||||||
"No HW flip", /* is_generate_u8g2_class= */ 1,
|
"No HW flip", /* is_generate_u8g2_class= */ 1,
|
||||||
|
|
Loading…
Reference in New Issue