From c9c33ce79c45c7307f1d331478c4f215dbae42d2 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 6 Mar 2022 22:05:13 +0100 Subject: [PATCH] Update pins for LCD RS and RW https://github.com/probonopd/MiniDexed/issues/38 Thanks @rsta2 --- src/config.cpp | 4 ++-- src/minidexed.ini | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/config.cpp b/src/config.cpp index b9a7ec6..9eb18a9 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -45,8 +45,8 @@ void CConfig::Load (void) m_bLCDEnabled = m_Properties.GetNumber ("LCDEnabled", 0) != 0; m_nLCDPinEnable = m_Properties.GetNumber ("LCDPinEnable", 17); - m_nLCDPinRegisterSelect = m_Properties.GetNumber ("LCDPinRegisterSelect", 18); - m_nLCDPinReadWrite = m_Properties.GetNumber ("LCDPinReadWrite", 19); + m_nLCDPinRegisterSelect = m_Properties.GetNumber ("LCDPinRegisterSelect", 27); + m_nLCDPinReadWrite = m_Properties.GetNumber ("LCDPinReadWrite", 16); m_nLCDPinData4 = m_Properties.GetNumber ("LCDPinData4", 22); m_nLCDPinData5 = m_Properties.GetNumber ("LCDPinData5", 23); m_nLCDPinData6 = m_Properties.GetNumber ("LCDPinData6", 24); diff --git a/src/minidexed.ini b/src/minidexed.ini index 6f7ae4c..bf67453 100644 --- a/src/minidexed.ini +++ b/src/minidexed.ini @@ -14,8 +14,8 @@ MIDIBaudRate=31250 # HD44780 LCD LCDEnabled=1 LCDPinEnable=17 -LCDPinRegisterSelect=18 -LCDPinReadWrite=19 +LCDPinRegisterSelect=27 +LCDPinReadWrite=16 LCDPinData4=22 LCDPinData5=23 LCDPinData6=24