8 bit lcd compatibility?
dcsim0n opened this issue · comments
Hi, I'd like to use a smaller 16x1 lcd for my keyer. The lcd I have sourced uses 8 data lines instead of 4.
The arduino LCD library supports 8bit lcds so its just a matter of adding the data lines to K3NG code.
Anyone know which files would need modification?
Thanks
-Dana KN4BEv
I will add an OPTION for this. But it's fairly easy to modify the code in
the meantime. Change this line:
LiquidCrystal lcd(lcd_rs, lcd_enable, lcd_d4, lcd_d5, lcd_d6, lcd_d7);
to something like:
LiquidCrystal lcd(lcd_rs, lcd_enable, lcd_d4, lcd_d5, lcd_d6, lcd_d7, w, x,
y, z);
where w, x, y, and z are your four additional LCD data lines
…On Wed, Jul 4, 2018 at 6:11 PM dcsim0n ***@***.***> wrote:
Hi, I'd like to use a smaller 16x1 lcd for my keyer. The lcd I have
sourced uses 8 data lines instead of 4.
The arduino LCD library supports 8bit lcds so its just a matter of adding
the data lines to K3NG code.
Anyone know which files would need modification?
Thanks
-Dana KN4BEv
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#48>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADLacN4M0VOXyJ_I1nrvJgER_A6Ll_SCks5uDT2EgaJpZM4VDDfy>
.
Updated code on Github.
2018.07.15.01
Added FEATURE_LCD_8BIT for controlling standard LCD displays with 8
data lines
Please test. Thanks
…On Sun, Jul 15, 2018 at 8:14 AM Anthony Good ***@***.***> wrote:
I will add an OPTION for this. But it's fairly easy to modify the code in
the meantime. Change this line:
LiquidCrystal lcd(lcd_rs, lcd_enable, lcd_d4, lcd_d5, lcd_d6, lcd_d7);
to something like:
LiquidCrystal lcd(lcd_rs, lcd_enable, lcd_d4, lcd_d5, lcd_d6, lcd_d7, w,
x, y, z);
where w, x, y, and z are your four additional LCD data lines
On Wed, Jul 4, 2018 at 6:11 PM dcsim0n ***@***.***> wrote:
> Hi, I'd like to use a smaller 16x1 lcd for my keyer. The lcd I have
> sourced uses 8 data lines instead of 4.
> The arduino LCD library supports 8bit lcds so its just a matter of adding
> the data lines to K3NG code.
>
> Anyone know which files would need modification?
>
> Thanks
> -Dana KN4BEv
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#48>, or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ADLacN4M0VOXyJ_I1nrvJgER_A6Ll_SCks5uDT2EgaJpZM4VDDfy>
> .
>
works great here, tks es 73