Skip to content

Grove - LCD RGB Backlight | Seeed Studio Wiki #96

Answered by FrancoisTrocque
giscus[bot] bot asked this question in Q&A

You must be logged in to vote

Hello I've got the same problem and I solves the issue
In the Cpp file the "_initialized = 1;" line in "void rgb_lcd::begin" function is placed at the end of the function.
So all previous "command" function don't work because they test "_initialized" before doing the job.
To Fix place the "_initialized = 1;" line at the begining of the function
i.e. After "_wire->begin();" line 75
and all become OK
This is a clue that the lib was provided without Testing it (:-(

Replies: 2 comments 6 replies

You must be logged in to vote
3 replies
@MatthewJeffson

@ffsianhall

@MatthewJeffson

You must be logged in to vote
3 replies
@benhaotang

@FrancoisTrocquegiscus

Answer selected by limengdu
@limengdu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants