Slight Modification Used in ST7735 to get running

Sep 21, 2012 at 7:42 PM

Hi guys.

 

I just downloaded the library to get the AdafruitST7735 library.  I'm using the shield version of the ST7735 and had a Smurf of a time getting it to run correctly. I kept getting garbage sent to the device until I tweaked Refresh as follows


public
void Refresh() { DataCommand.Write( Command ); Write( (byte)LcdCommand.RAMWR ); // write to RAM DataCommand.Write( Data ); Spi.Write( SpiBuffer ); }

I appears something in the library wasn't resetting the command to write to RAM.

 

Also, I'm probably going to update this thing with a few more functions, so I'll probably ask for write access.

 

Keep up the good work, I was pulling my hair out trying to figure out the SPI conversions...

Developer
Sep 21, 2012 at 7:45 PM

You don't need write access: just make a pull request.