u8glib pins error
May 14, 2015 09:51PM
Hi, I have full graphic lcd and wanted to use with my sangui 1.3a but whenever I tried to upload the firmware the ide gave me u8glib error on the pins, something like not declared or something.

A help here would be appreciated, the code below are he errors I got even on verifying it










In file included from /dogm_lcd_implementation.h:40,
                 from ultralcd.cpp:35:
/ultralcd_st7920_u8glib_rrd.h: In function 'void ST7920_SWSPI_SND_8BIT(uint8_t)':
ultralcd_st7920_u8glib_rrd.h:29: error: 'DIOLCD_PINS_D4_RPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:29: error: 'DIOLCD_PINS_D4_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:29: error: 'DIOLCD_PINS_D4_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:29: error: 'DIOLCD_PINS_D4_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:29: error: 'DIOLCD_PINS_D4_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:29: error: 'DIOLCD_PINS_D4_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:29: error: 'DIOLCD_PINS_D4_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:29: error: 'DIOLCD_PINS_D4_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:29: error: 'DIOLCD_PINS_D4_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:30: error: 'DIOLCD_PINS_ENABLE_RPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:30: error: 'DIOLCD_PINS_ENABLE_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:30: error: 'DIOLCD_PINS_ENABLE_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:30: error: 'DIOLCD_PINS_ENABLE_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:30: error: 'DIOLCD_PINS_ENABLE_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:30: error: 'DIOLCD_PINS_ENABLE_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:30: error: 'DIOLCD_PINS_ENABLE_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:30: error: 'DIOLCD_PINS_ENABLE_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:30: error: 'DIOLCD_PINS_ENABLE_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:32: error: 'DIOLCD_PINS_D4_RPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:32: error: 'DIOLCD_PINS_D4_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:32: error: 'DIOLCD_PINS_D4_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:32: error: 'DIOLCD_PINS_D4_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:32: error: 'DIOLCD_PINS_D4_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:32: error: 'DIOLCD_PINS_D4_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:32: error: 'DIOLCD_PINS_D4_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:32: error: 'DIOLCD_PINS_D4_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:32: error: 'DIOLCD_PINS_D4_PIN' was not declared in this scope
/ultralcd_st7920_u8glib_rrd.h: In function 'uint8_t u8g_dev_rrd_st7920_128x64_fn(u8g_t*, u8g_dev_t*, uint8_t, void*)':
ultralcd_st7920_u8glib_rrd.h:50: error: 'DIOLCD_PINS_RS_DDR' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:50: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:51: error: 'DIOLCD_PINS_RS_RPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:51: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:51: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:51: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:51: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:51: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:51: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:51: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:51: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:52: error: 'DIOLCD_PINS_ENABLE_DDR' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:52: error: 'DIOLCD_PINS_ENABLE_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:53: error: 'DIOLCD_PINS_ENABLE_RPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:53: error: 'DIOLCD_PINS_ENABLE_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:53: error: 'DIOLCD_PINS_ENABLE_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:53: error: 'DIOLCD_PINS_ENABLE_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:53: error: 'DIOLCD_PINS_ENABLE_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:53: error: 'DIOLCD_PINS_ENABLE_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:53: error: 'DIOLCD_PINS_ENABLE_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:53: error: 'DIOLCD_PINS_ENABLE_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:53: error: 'DIOLCD_PINS_ENABLE_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:54: error: 'DIOLCD_PINS_D4_DDR' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:54: error: 'DIOLCD_PINS_D4_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:55: error: 'DIOLCD_PINS_D4_RPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:55: error: 'DIOLCD_PINS_D4_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:55: error: 'DIOLCD_PINS_D4_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:55: error: 'DIOLCD_PINS_D4_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:55: error: 'DIOLCD_PINS_D4_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:55: error: 'DIOLCD_PINS_D4_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:55: error: 'DIOLCD_PINS_D4_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:55: error: 'DIOLCD_PINS_D4_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:55: error: 'DIOLCD_PINS_D4_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:57: error: 'DIOLCD_PINS_RS_RPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:57: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:57: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:57: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:57: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:57: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:57: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:57: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:57: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:74: error: 'DIOLCD_PINS_RS_RPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:74: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:74: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:74: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:74: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:74: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:74: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:74: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:74: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:87: error: 'DIOLCD_PINS_RS_RPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:87: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:87: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:87: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:87: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:87: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:87: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:87: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:87: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:106: error: 'DIOLCD_PINS_RS_RPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:106: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:106: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:106: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:106: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:106: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:106: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:106: error: 'DIOLCD_PINS_RS_WPORT' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:106: error: 'DIOLCD_PINS_RS_PIN' was not declared in this scope

Sorry, only registered users may post in this forum.

Click here to login