Go Down

Topic: U8glib: Graphics Lib for LCDs and OLEDs (Read 54 times) previous topic - next topic

rdeweerd

I must have been verry sleepy yesterday evening because it works now!

But for the others how to connect the DFRobot to the ARduino:

This is my innitialization string:

U8GLIB_ST7920_128X64 u8g(9, 8, 3, U8G_PIN_NONE); // SPI Com: SCK = en = 9, MOSI = rw = 8, CS = di = 3

And this is how I connected it:
Arduino pin = function = DFRobot pin
Pin 9 = SCK = e 
Pin 8 = MOSI = rw
Pin 3 = CS = rs

olikraus

Thanks for the information.

Oliver

olikraus

Release v1.02 is available vor download.

* Support for LC7981 controller
* drawCircle, drawDisc
* Ported "little rook chess", a full playable chess engine with graphical user interface



Oliver

NeOCzx

hi and good day..

thx for the wonderful library, works great on my DS-LCD-TG12864E (ST7920 controller) in spi mode. (R/W = MOSI, E= CLK , PSB =LOW, RS=HIGH)
speed is quite ok in spi, gotta try the parallel mode soon. the liquid crystal itself may be limiter.

Hmm..is possible can u make point to point drawline (x1,y1,x2,y2) available? :D

thx again :)





olikraus

Hi

Thanks for the feedback.
I will add a drawLine procedure with the next release.

Oliver

Go Up