Display St7735

For general Flowcode discussion that does not belong in the other sections.
Post Reply
jgu1
Posts: 906
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 800 times
Been thanked: 199 times

Flowcode v10 Display St7735

Post by jgu1 »

Hi!

I start a project with display ESP32-dev1 and ST7735 display, During startup I always make a test.

I cannot compile, syntax error, please what am I doing wrong?

Br Jorgen
Attachments
Es.msg.txt
(443 Bytes) Downloaded 172 times
Es.fcfx
(15.18 KiB) Downloaded 166 times

medelec35
Valued Contributor
Posts: 2270
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 698 times
Been thanked: 768 times

Re: Display St7735

Post by medelec35 »

Hi Jorgen.
The issue is being caused by a pin not being connected.
In this case it is the Reset pin.
Even though you have selected No for use reset, it still requires a pin.
You was not to know as the pin selection was hidden.
I will chat to a colleague today and see if there is something we can do about that.
In your case select Yes for use Reset, select an unused pin, then change it back to No
Martin

jgu1
Posts: 906
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 800 times
Been thanked: 199 times

Re: Display St7735

Post by jgu1 »

Hi Martin!

Many many thank´s Martin. Ok, I have to remember to check this, would be nice if FC do it automatic when not used pin :D

Br Jorgen

jgu1
Posts: 906
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 800 times
Been thanked: 199 times

Re: Display St7735

Post by jgu1 »

Hi MArtin!

Your rigth Compile now, thank´s :D

Jorgen

medelec35
Valued Contributor
Posts: 2270
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 698 times
Been thanked: 768 times

Re: Display St7735

Post by medelec35 »

Hi Jorgen.
That's great!
I have modified your St7735 component so they any unused pins are assigned to a pin, so you don't get this issue again.
I'm just awaiting feedback about it form a colleague (i have only just sent the email, so it might be tomorrow), then I will post it on here for you to try.
Martin

jgu1
Posts: 906
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 800 times
Been thanked: 199 times

Re: Display St7735

Post by jgu1 »

So Perfect Martin, Thank you :)

Br jorgen

Post Reply