Looking for a library for RA8835

Have an LCD with the resolution of 320x160. It's controller is RA8835. currently looking for a library to drive it. Tried the U8G2 library, but seems that there isn't an option for my resolution.

If U8g2 supports your controller but not the specific resolution, you might consider looking into making copies of the controller initialization code and simply changing the resolution.

Tried that, and get compile errors about it being undefined.

You didn't mention that.

Well, neither I nor anyone else reading this will have any idea what "it" is.

Since you aren't showing any information regarding what you tried and how it failed, I guess you're not interested in getting U8g2 working, only in having a working and tested RA8835 library dropped into your lap.

Good luck with that!

in U8g2lib.h, i added these lines:

  public:
    U8G2_RA8835_320X160_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() {
        // Adjust setup for 320x160 resolution, 6800 interface mode
        u8g2_Setup_ra8835_320x160_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_RA8835_320X160_1_8080 : public U8G2 {
  public:
    U8G2_RA8835_320X160_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() {
        // Adjust setup for 320x160 resolution, 8080 interface mode
        u8g2_Setup_ra8835_320x160_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_RA8835_320X160_2_6800 : public U8G2 {
  public:
    U8G2_RA8835_320X160_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() {
        // Adjust setup for 320x160 resolution, 6800 interface mode
        u8g2_Setup_ra8835_320x160_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_RA8835_320X160_2_8080 : public U8G2 {
  public:
    U8G2_RA8835_320X160_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() {
        // Adjust setup for 320x160 resolution, 8080 interface mode
        u8g2_Setup_ra8835_320x160_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_RA8835_320X160_F_6800 : public U8G2 {
  public:
    U8G2_RA8835_320X160_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() {
        // Adjust setup for 320x160 resolution, 6800 interface mode
        u8g2_Setup_ra8835_320x160_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_RA8835_320X160_F_8080 : public U8G2 {
  public:
    U8G2_RA8835_320X160_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() {
        // Adjust setup for 320x160 resolution, 8080 interface mode
        u8g2_Setup_ra8835_320x160_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);
    }
};

but i get errors:

D:\Documents\Arduino\libraries\U8g2\src/U8g2lib.h:27106:5: error: 'u8g2_Setup_ra8835_320x160_f' was not declared in this scope
     u8g2_Setup_ra8835_320x160_f(&u8g2, rotation, u8x8_byte_8bit_6800mode, u8x8_gpio_and_delay_arduino);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:\Documents\Arduino\libraries\U8g2\src/U8g2lib.h:27106:5: note: suggested alternative: 'u8g2_Setup_ra8835_320x240_f'
     u8g2_Setup_ra8835_320x160_f(&u8g2, rotation, u8x8_byte_8bit_6800mode, u8x8_gpio_and_delay_arduino);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
     u8g2_Setup_ra8835_320x240_f
D:\Documents\Arduino\libraries\U8g2\src/U8g2lib.h: In constructor 'U8G2_RA8835_320X160_F_8080::U8G2_RA8835_320X160_F_8080(const u8g2_cb_t*, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)':
D:\Documents\Arduino\libraries\U8g2\src/U8g2lib.h:27112:2: error: 'u8g2_Setup_ra8835_320x160_f' was not declared in this scope
  u8g2_Setup_ra8835_320x160_f(&u8g2, rotation, u8x8_byte_arduino_8bit_8080mode, u8x8_gpio_and_delay_arduino);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:\Documents\Arduino\libraries\U8g2\src/U8g2lib.h:27112:2: note: suggested alternative: 'u8g2_Setup_ra8835_320x240_f'
  u8g2_Setup_ra8835_320x160_f(&u8g2, rotation, u8x8_byte_arduino_8bit_8080mode, u8x8_gpio_and_delay_arduino);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  u8g2_Setup_ra8835_320x240_f
exit status 1

though a pre-done library would be nice...

Got it working with U8g2lib