Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 12089

Full Graphics display on Megatronics v3.1

$
0
0
Greetings,

I have a new Megatronics v3.1 with a Graphics Display LCD with controller and SD card reader.

The board is working fine as is the LCD as I've put both through the their respective test firmwares and have the board connected to the printer and tested the functionality via USB connection.

I'm having some trouble correctly configuring the firmware for the full graphics display though. When I uncomment the «#define doglcd» line for the full graphics display I get the following error on compilation:

/var/folders/8l/bpkfk5cx5bvc3xz824fd_kxm0000gp/T/build923664638031045729.tmp/ultralcd.cpp:75:0:
/var/folders/8l/bpkfk5cx5bvc3xz824fd_kxm0000gp/T/build923664638031045729.tmp/dogm_lcd_implementation.h:159:22: error: 'DOGLCD_CS' was not declared in this scope
   U8GLIB_DOGM128 u8g(DOGLCD_CS, DOGLCD_A0);  // HW-SPI Com: CS, A0
                      ^
/var/folders/8l/bpkfk5cx5bvc3xz824fd_kxm0000gp/T/build923664638031045729.tmp/dogm_lcd_implementation.h:159:33: error: 'DOGLCD_A0' was not declared in this scope
   U8GLIB_DOGM128 u8g(DOGLCD_CS, DOGLCD_A0);  // HW-SPI Com: CS, A0
                                 ^
Error compiling.

I have the latest u8glib library version installed (1.9.1). I even tried switching to u8g2 but that just gave me an error saying it was still looking for u8glib.

Any ideas?

Thanks in advance.

Viewing all articles
Browse latest Browse all 12089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>