Interfacing with a S6B0741
Your code is not correct.

You should initialise the control lines to an inactive state at the start (CSB and E high), then to write data do the following:

Set your data bus lines to be outputs from the microprocessor
enable the display: /CSB low
set the RW line low
Write the command or data to the data bus lines
set the RS line as required
set the E line low
reset the E line to high
disable the display /CSB high


if you are making multiple writes, or you only have the one display on the bus  you can leave the display enabled (/CSB low) while you change the data and then pulse the E line again.

You only need to set RW high if you need to read data from the display - don't forget to change the data bus lines on your MCU to be inputs before doing this.