- Fri Jul 07, 2006 9:29 pm
#15541
Has anyone tried the OLED sample code available on SparkFun? Is there an accompanying schematic? It's not clear from the code which interface mode (8080 or 6800) is being used, though it seems to be one of the parallel modes, and not SPI. Some of the pin declarations are a bit ambiguous...
Code: Select all
Is one mode "better" than the other?#define LCD_RW 0x00000080 //Is this OLED R/W pin #16? If so, the naming seems to indicate use of the 6800 interface mode.
#define LCD_RS 0x04000000 //What pin is this on the OLED?
#define LCD_RD 0x00008000 //Is this E(RD#) pin # 15? If so, the naming seems to indicate use of the 8080 interface mode (BS1 & BS2 both pulled high)
#define LCD_RSTB 0x80000000 //What OLED pin is this? RES# #21?