VolosR / ResistorTTGO

40 stars 14 forks source link

error: 'TFT_BL' was not declared in this scope #3

Closed zangaby closed 2 years ago

zangaby commented 2 years ago

Hello,

Unfortunately I am unable to compile the sketch. I installed the latest TFT_eSPI library but I get the following error.

Resistor:37:17: error: 'TFT_BL' was not declared in this scope

   ledcAttachPin(TFT_BL, pwmLedChannelTFT);

Am I missing anything?

Thanks !

zangaby commented 2 years ago

The answer is in this video: How to Install and Setup TTGO T-Display ( Getting Started tutorial) https://www.youtube.com/watch?v=b8254--ibmM&t=0s