Control the 4 line by 20 character LCD from a web page

The files

Put LCDonSWEEX.html into /var/www/rs232ws/ on the stick

Put LCDsend.txt into /var/www/cgi-bin/rs232ws/ on the stick
(replace .txt with .cgi to test)


Put pg-LCDsend4lines.sh.txt into /var/www/cgi-bin/rs232ws/ on the stick
(remove the .txt extension to test)

The web page calls LCDsend.cgi which calls pg-LCDsend4lines.sh which re-orders the string to load each line of the display.

I think there is perhaps a timing problem still?
I need to initialise two times and sometimes see odd characters.

update - I added some delay lines in the script and the odd characters have gone (?)

To be continued - If you fix it email me please