You realy can't mess with RS, it is Instruction/Data register select (0=Instruction 1=Data). From the datasheet -
![]()
You realy can't mess with RS, it is Instruction/Data register select (0=Instruction 1=Data). From the datasheet -
![]()
George
Of course you can. You can mess with any of the signal pins as much as you like.
It's only on the falling edge of the Enable pin that the state of all other pins are latched to the LCD.
Hence you can connect multiple LCD modules to all the same pins, but they each need their own Enable pin.
What I think will happen if you set your own state for RS and then send a command with LCDOUT,
is PBP will change straight back to what it wants.
I don't think you have to mess with RS. Looking at the datasheet for the VFD it says this:
So it sounds like the brightness byte goes out as normal data would... you just have to send it right after a Function Set Command byte.One byte data (RS=1) which follows the "Function Set Command" is considered as brightness data.
When a command (RS=0) is written after the "Function Set Command", the brightness control
function is not initiated. Screen brightness is as follows.
Try something like this:
LCDOUT $FE, $20, $03 'FS=4-bit mode and 25% brightness
Bookmarks