|
|
@@ -21413,6 +21413,132 @@ class U8G2_ST7302_122X250_F_8080 : public U8G2 {
|
|
|
u8x8_SetPin_8Bit_8080(getU8x8(), d0, d1, d2, d3, d4, d5, d6, d7, enable, cs, dc, reset);
|
|
|
}
|
|
|
};
|
|
|
+class U8G2_ST7305_122X250_1_4W_SW_SPI : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_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_st7305_122x250_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_ST7305_122X250_1_4W_HW_SPI : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_1_4W_HW_SPI(const u8g2_cb_t *rotation, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
|
|
+ u8g2_Setup_st7305_122x250_1(&u8g2, rotation, u8x8_byte_arduino_hw_spi, u8x8_gpio_and_delay_arduino);
|
|
|
+ u8x8_SetPin_4Wire_HW_SPI(getU8x8(), cs, dc, reset);
|
|
|
+ }
|
|
|
+};
|
|
|
+class U8G2_ST7305_122X250_1_2ND_4W_HW_SPI : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_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_st7305_122x250_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_ST7305_122X250_1_3W_SW_SPI : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_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_st7305_122x250_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_ST7305_122X250_1_3W_HW_SPI : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_1_3W_HW_SPI(const u8g2_cb_t *rotation, uint8_t cs, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
|
|
+ u8g2_Setup_st7305_122x250_1(&u8g2, rotation, u8x8_byte_arduino_3wire_hw_spi, u8x8_gpio_and_delay_arduino);
|
|
|
+ u8x8_SetPin_3Wire_HW_SPI(getU8x8(), cs, reset);
|
|
|
+ }
|
|
|
+};
|
|
|
+class U8G2_ST7305_122X250_1_6800 : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_1_6800(const u8g2_cb_t *rotation, uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3, uint8_t d4, uint8_t d5, uint8_t d6, uint8_t d7, uint8_t enable, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
|
|
+ u8g2_Setup_st7305_122x250_1(&u8g2, rotation, u8x8_byte_8bit_6800mode, u8x8_gpio_and_delay_arduino);
|
|
|
+ u8x8_SetPin_8Bit_6800(getU8x8(), d0, d1, d2, d3, d4, d5, d6, d7, enable, cs, dc, reset);
|
|
|
+ }
|
|
|
+};
|
|
|
+class U8G2_ST7305_122X250_1_8080 : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_1_8080(const u8g2_cb_t *rotation, uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3, uint8_t d4, uint8_t d5, uint8_t d6, uint8_t d7, uint8_t enable, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
|
|
+ u8g2_Setup_st7305_122x250_1(&u8g2, rotation, u8x8_byte_arduino_8bit_8080mode, u8x8_gpio_and_delay_arduino);
|
|
|
+ u8x8_SetPin_8Bit_8080(getU8x8(), d0, d1, d2, d3, d4, d5, d6, d7, enable, cs, dc, reset);
|
|
|
+ }
|
|
|
+};
|
|
|
+class U8G2_ST7305_122X250_2_4W_SW_SPI : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_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_st7305_122x250_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_ST7305_122X250_2_4W_HW_SPI : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_2_4W_HW_SPI(const u8g2_cb_t *rotation, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
|
|
+ u8g2_Setup_st7305_122x250_2(&u8g2, rotation, u8x8_byte_arduino_hw_spi, u8x8_gpio_and_delay_arduino);
|
|
|
+ u8x8_SetPin_4Wire_HW_SPI(getU8x8(), cs, dc, reset);
|
|
|
+ }
|
|
|
+};
|
|
|
+class U8G2_ST7305_122X250_2_2ND_4W_HW_SPI : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_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_st7305_122x250_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_ST7305_122X250_2_3W_SW_SPI : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_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_st7305_122x250_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_ST7305_122X250_2_3W_HW_SPI : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_2_3W_HW_SPI(const u8g2_cb_t *rotation, uint8_t cs, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
|
|
+ u8g2_Setup_st7305_122x250_2(&u8g2, rotation, u8x8_byte_arduino_3wire_hw_spi, u8x8_gpio_and_delay_arduino);
|
|
|
+ u8x8_SetPin_3Wire_HW_SPI(getU8x8(), cs, reset);
|
|
|
+ }
|
|
|
+};
|
|
|
+class U8G2_ST7305_122X250_2_6800 : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_2_6800(const u8g2_cb_t *rotation, uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3, uint8_t d4, uint8_t d5, uint8_t d6, uint8_t d7, uint8_t enable, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
|
|
+ u8g2_Setup_st7305_122x250_2(&u8g2, rotation, u8x8_byte_8bit_6800mode, u8x8_gpio_and_delay_arduino);
|
|
|
+ u8x8_SetPin_8Bit_6800(getU8x8(), d0, d1, d2, d3, d4, d5, d6, d7, enable, cs, dc, reset);
|
|
|
+ }
|
|
|
+};
|
|
|
+class U8G2_ST7305_122X250_2_8080 : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_2_8080(const u8g2_cb_t *rotation, uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3, uint8_t d4, uint8_t d5, uint8_t d6, uint8_t d7, uint8_t enable, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
|
|
+ u8g2_Setup_st7305_122x250_2(&u8g2, rotation, u8x8_byte_arduino_8bit_8080mode, u8x8_gpio_and_delay_arduino);
|
|
|
+ u8x8_SetPin_8Bit_8080(getU8x8(), d0, d1, d2, d3, d4, d5, d6, d7, enable, cs, dc, reset);
|
|
|
+ }
|
|
|
+};
|
|
|
+class U8G2_ST7305_122X250_F_4W_SW_SPI : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_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_st7305_122x250_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_ST7305_122X250_F_4W_HW_SPI : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_F_4W_HW_SPI(const u8g2_cb_t *rotation, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
|
|
+ u8g2_Setup_st7305_122x250_f(&u8g2, rotation, u8x8_byte_arduino_hw_spi, u8x8_gpio_and_delay_arduino);
|
|
|
+ u8x8_SetPin_4Wire_HW_SPI(getU8x8(), cs, dc, reset);
|
|
|
+ }
|
|
|
+};
|
|
|
+class U8G2_ST7305_122X250_F_2ND_4W_HW_SPI : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_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_st7305_122x250_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_ST7305_122X250_F_3W_SW_SPI : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_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_st7305_122x250_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_ST7305_122X250_F_3W_HW_SPI : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_F_3W_HW_SPI(const u8g2_cb_t *rotation, uint8_t cs, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
|
|
+ u8g2_Setup_st7305_122x250_f(&u8g2, rotation, u8x8_byte_arduino_3wire_hw_spi, u8x8_gpio_and_delay_arduino);
|
|
|
+ u8x8_SetPin_3Wire_HW_SPI(getU8x8(), cs, reset);
|
|
|
+ }
|
|
|
+};
|
|
|
+class U8G2_ST7305_122X250_F_6800 : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_F_6800(const u8g2_cb_t *rotation, uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3, uint8_t d4, uint8_t d5, uint8_t d6, uint8_t d7, uint8_t enable, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
|
|
+ u8g2_Setup_st7305_122x250_f(&u8g2, rotation, u8x8_byte_8bit_6800mode, u8x8_gpio_and_delay_arduino);
|
|
|
+ u8x8_SetPin_8Bit_6800(getU8x8(), d0, d1, d2, d3, d4, d5, d6, d7, enable, cs, dc, reset);
|
|
|
+ }
|
|
|
+};
|
|
|
+class U8G2_ST7305_122X250_F_8080 : public U8G2 {
|
|
|
+ public: U8G2_ST7305_122X250_F_8080(const u8g2_cb_t *rotation, uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3, uint8_t d4, uint8_t d5, uint8_t d6, uint8_t d7, uint8_t enable, uint8_t cs, uint8_t dc, uint8_t reset = U8X8_PIN_NONE) : U8G2() {
|
|
|
+ u8g2_Setup_st7305_122x250_f(&u8g2, rotation, u8x8_byte_arduino_8bit_8080mode, u8x8_gpio_and_delay_arduino);
|
|
|
+ u8x8_SetPin_8Bit_8080(getU8x8(), d0, d1, d2, d3, d4, d5, d6, d7, enable, cs, dc, reset);
|
|
|
+ }
|
|
|
+};
|
|
|
class U8G2_ST7586S_S028HN118A_1_4W_SW_SPI : public U8G2 {
|
|
|
public: U8G2_ST7586S_S028HN118A_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_st7586s_s028hn118a_1(&u8g2, rotation, u8x8_byte_arduino_4wire_sw_spi, u8x8_gpio_and_delay_arduino);
|