HOW_TO?
Hi all,
after reading a lot about Display here i have a question , may be useful for many users.
is there a "How to" guide for adding u8glib supported displays to the Firmware?
in other posts i found something like "adding driver at the end of u8glib.h" but i only find u8glib_ex.h
and idont what to add and how to configure the pins.
I want to use a KS0108 display which works well with original u8glib but i need help to transfer to Repetier firmware.
Thanks a lot in advance
RAyWb
after reading a lot about Display here i have a question , may be useful for many users.
is there a "How to" guide for adding u8glib supported displays to the Firmware?
in other posts i found something like "adding driver at the end of u8glib.h" but i only find u8glib_ex.h
and idont what to add and how to configure the pins.
I want to use a KS0108 display which works well with original u8glib but i need help to transfer to Repetier firmware.
Thanks a lot in advance
RAyWb
Comments
// 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, cs1=14, cs2=15,di=17,rw=16,Reset=19
that´s the way i initialise the Display with original u8glib.
unfortunately for me the 3 included drivers are serial...
regarding Pins i´m absolutely flexible.In the moment it´s not more than Arduino Mega2560 on a Breadboard...
but one "stupid" Question, asi dont´t find it in Github...
can you please tell me wher to find it?
writing original u8glib testfile to exactly the same setup ,the display works.
#define UI_DISPLAY_RS_PIN -1
#define UI_DISPLAY_DI 17
#define UI_DISPLAY_RW_PIN 16
#define UI_DISPLAY_ENABLE_PIN 18
#define UI_DISPLAY_D0_PIN 8
#define UI_DISPLAY_D1_PIN 9
#define UI_DISPLAY_D2_PIN 10
#define UI_DISPLAY_D3_PIN 11
#define UI_DISPLAY_D4_PIN 4
#define UI_DISPLAY_D5_PIN 5
#define UI_DISPLAY_D6_PIN 6
#define UI_DISPLAY_D7_PIN 7
#define UI_DISPLAY_CS1 14
#define UI_DISPLAY_CS2 15
#define UI_DISPLAY_RESET_PIN 19
To own definition:
#define UI_DISPLAY_RS_PIN -1
#define UI_DISPLAY_DI 36
#define UI_DISPLAY_RW_PIN 37
#define UI_DISPLAY_ENABLE_PIN 38
#define UI_DISPLAY_D0_PIN 39
#define UI_DISPLAY_D1_PIN 40
#define UI_DISPLAY_D2_PIN 41
#define UI_DISPLAY_D3_PIN 42
#define UI_DISPLAY_D4_PIN 43
#define UI_DISPLAY_D5_PIN 44
#define UI_DISPLAY_D6_PIN 45
#define UI_DISPLAY_D7_PIN 46
#define UI_DISPLAY_CS1 47
#define UI_DISPLAY_CS2 48
#define UI_DISPLAY_RESET_PIN 49
Display works now ..absolutely correct!! tried 3 displays from different manufacturers--> OK
Do you have an idea why i had to change the pins? doesn´t uiconfig setting override configuration.h?
anyway thanks a lot for supporting...i´ll send my thanks via donate ;-)