Update pins for LCD RS and RW

https://github.com/probonopd/MiniDexed/issues/38
Thanks @rsta2
pull/40/head
probonopd 3 years ago
parent 928922743a
commit c9c33ce79c
  1. 4
      src/config.cpp
  2. 4
      src/minidexed.ini

@ -45,8 +45,8 @@ void CConfig::Load (void)
m_bLCDEnabled = m_Properties.GetNumber ("LCDEnabled", 0) != 0; m_bLCDEnabled = m_Properties.GetNumber ("LCDEnabled", 0) != 0;
m_nLCDPinEnable = m_Properties.GetNumber ("LCDPinEnable", 17); m_nLCDPinEnable = m_Properties.GetNumber ("LCDPinEnable", 17);
m_nLCDPinRegisterSelect = m_Properties.GetNumber ("LCDPinRegisterSelect", 18); m_nLCDPinRegisterSelect = m_Properties.GetNumber ("LCDPinRegisterSelect", 27);
m_nLCDPinReadWrite = m_Properties.GetNumber ("LCDPinReadWrite", 19); m_nLCDPinReadWrite = m_Properties.GetNumber ("LCDPinReadWrite", 16);
m_nLCDPinData4 = m_Properties.GetNumber ("LCDPinData4", 22); m_nLCDPinData4 = m_Properties.GetNumber ("LCDPinData4", 22);
m_nLCDPinData5 = m_Properties.GetNumber ("LCDPinData5", 23); m_nLCDPinData5 = m_Properties.GetNumber ("LCDPinData5", 23);
m_nLCDPinData6 = m_Properties.GetNumber ("LCDPinData6", 24); m_nLCDPinData6 = m_Properties.GetNumber ("LCDPinData6", 24);

@ -14,8 +14,8 @@ MIDIBaudRate=31250
# HD44780 LCD # HD44780 LCD
LCDEnabled=1 LCDEnabled=1
LCDPinEnable=17 LCDPinEnable=17
LCDPinRegisterSelect=18 LCDPinRegisterSelect=27
LCDPinReadWrite=19 LCDPinReadWrite=16
LCDPinData4=22 LCDPinData4=22
LCDPinData5=23 LCDPinData5=23
LCDPinData6=24 LCDPinData6=24

Loading…
Cancel
Save