How do you set 128x64 KS0108 device with nibble mode on Arduino Micro?


hello

i trying interface 128x64 graphic lcd arduino micro, , it's working fine openglcd library.

however, using 8 data lines, , i'd free 4 of them, using nibble mode. documentation , code makes various references nibble mode, after going through lot of resources , source code, cannot find how use nibble mode.

the wiring done 8 bit data mode (with customisations) , , looking code start using nibble mode.

can please ?

i using library here : https://bitbucket.org/bperrybap/openglcd/wiki/home

thanks !

the interface ks0108 8 bit. there no way reduce data pin count 4 pins.
the "nibble" mode mentioned in documentation not 4 pin nibble interface mode ks0108 rather referring how avr processor sets 8 pins controlling 8 bit/pin data interface.

openglcd has control 8 arduino pins set 8 data lines glcd.

there several ways library can control 8 pins varying efficiencies.
- each pin controlled individually, least efficient
- 8 @ once (byte mode) efficient
- 2 separate 4 bit nibbles (nibble mode) 2 4 pin operations
- 1 4 bit nibble , 4 individually controlled pins. (mixture of nibble , individual pins)

hope helps.
--- bill





Arduino Forum > Using Arduino > Displays > How do you set 128x64 KS0108 device with nibble mode on Arduino Micro?


arduino

Comments