- this is the right sketch - this is the code we are come from
- 4bit mode is not the same as 4wire, do not care about this
We will patch the apropriate code in.
Awaiting the allowance from the mod.
Huh! Stay cool.
Hopefully it will not last so long again.
The forum staff seems to be a little underpowered.
I’m not the fool. Must be someone else
The working LCD attached with Boarduino, provided with some info from Winamp with Matrixorbital.dll-plugin.
depicted without keypad.
Feel free to add this function via additional keypad. Not tested. It is not in my focus.
Have some guidance for you
tested setups: please note the different pin configuration for rx,tx
USB Boarduino V2 : slcd( 9,10)
Arduino Leonardo : slcd(11,12)
You have to remove / adapt all entries refering to the LiquidCrystal.library.
add as usualy #include for SerialLCD.library and SoftSerial.library
add Serial.LCD (slcd 11,12) ; look at the tutorials from the wiki for Grove LCD 1.1b
do the setup with slcd.begin();
establish the serial connection
setup lcd power , lcdbacklight
write some stuff to the screen to prove the lcd is responding
change commands :
find commands with lcd.xxx and change them to slcd.xxx
some commands need to be changed
example: change lcd.write(0b00001100); to slcd.write(20) or their correspondence i.E. slcd.clear(); .
special case: find and replace lcd.command.xxx it with slcd.write.xxx
Some cases have to be changed to reflect the code the TWI-LCD is really working with. (found by trial and error)
Though there is a list of supported commands the notation in the form of slcd.clear(); did not work for all commands.
Some commands do not work as expected or failed completely. Their commandlines had to be deactivated by commenting them out.
I had to move some functions to the blacklist; namely autoscroll() and noAutoscroll().
do the clean-up:
remove references to unsupported libraries, pins and functions i.E. GPIO, analogwrite.
If you do not need the special character handling and Umlaut table (I assume it is needed mostly for correct handling of german characters) comment them out or remove them from the switch(rxbyte)-section.