O Level Papers!
RS (Register Select) pin is used to select command or data mode, hence it's treated as an input to the LCD.