Funny, just tested it 2 seconds ago, actual just unplugged my nano board!
Test with Arduino Uno R3 clone - OK
test with Arduino Nano clone - OK
tested using the "graphictest" example file
Cool, so I can start preparing my schematics....
BTW, I will use it for a Soldering Station along with an Arduino Nano, a Rotary Encoder, etc... Should be a complex yet fun project to build, and to show of the Power Of B4R!
Sub Process_Globals
Public Serial1 As Serial
Private st As AdafruitST7735
End Sub
Private Sub AppStart
Serial1.Initialize(115200)
Log("AppStart")
st.InitializeSoftware(10, 8, 11, 13, 9, 0) '0 = ST7735R green
st.FillScreen(st.COLOR_BLACK)
st.GFX.DrawCircle(10, 10, 10, st.COLOR_RED, True)
End Sub
It works "right-out-of-the-box" with a very minor glitch: My tft, although it has a green tab, selecting the option "0" in the initialize method show an "offset" of 2 pixels vertical and 1 pixel horizontal, plus the bal shows the color Blue.
I was already aware of some issues with this, and tried the option "2" (Blacktab) and it works as it should, no offset, and the Ball is Red!
Trying to show text, I can show text in default white color, but I just can't figure out how to change its color.
I have tried:
st.GFX.DrawText("Hello World").ConfigureText(2, st.COLOR_CYAN, False)
but neither the text size nor the text color change
I did, but the IDE didn't like it... I will have to look deeper into it... I also have successfully used the "byte array/inline C" Bitmap into progmem code, the one with the smileys.
I will try to create a better looking image and post my TFT photo.