I have an LCD interface from a ramps 1.4 kit and I would like to use it as the interface for the bus systems control that I am building. I have found that the library "U8glib" is supposed to help me to control this but I have made no progress on research for this controller. I am also searching for a pinout. Will someone please help me with this issue
BTW: I do not wish to use the SD card at all.
I found this helpful but do you have any coding information
also I am not trying to use the marlin firmware I am trying to create my own firmware
The display uses an ST7920 with an SPI interface. You can use either hardware or software SPI, the U8glib library will work, but U8g2 is the newer version of that library. The following constructor works for me, with hardware SPI and chip select on pin 10 of a nano.
U8G2_ST7920_128X64_F_HW_SPI u8g2(U8G2_R0, /* CS=*/ 10, /* reset=*/ 8);
I am not a very advanced user in Arduino and I have no clue what an SPI interface
I am also trying to find information on how to print a menu on the controller
also I am wondering how to declare the pins that the Arduino is connected to
I also need to know if I need to define the pins of if there is a default pinout going to the arduino