oxinon / BTC-price-ticker-V2_1-TTGO-T-Display

Simple Bitcoin price ticker by using TTGO T-Display ESP32 and 1.14 Inch Display with CoinMarketcap API for Arduino IDE
GNU General Public License v3.0
20 stars 5 forks source link

Ask for help to getting data in json #1

Closed Olive80 closed 2 years ago

Olive80 commented 2 years ago

Hi, First of all thank you for sharing your project. I open a problem because I have this error message on Arduino serial monitor and I have a black screen on my ttgo.

Capture1

Can you help me because I can't solve it. Thank you Oliver

Olive80 commented 2 years ago

hi, I solve the problem of the black screen but i sill get this error message... Capture1 waiting for your response Best regard

oxinon commented 2 years ago

Hi Olive80,

do you have esptool installed? This makes it possible to delete the memory and then simply transfer it again with the Arduino IDE.

Olive80 commented 2 years ago

Hello,

I erased the memory with esptool, but without success, always the same error code ... Do you have another solution?

oxinon commented 2 years ago

I found the problem, it's with the Coinmarketcap library. Open this file with Notepad++ or another editor /Arduino/libraries/CoinMarketCapApi2/scr/CoinMarketCapApi.ccp

go to line 76 and change the setting from 2048 to 3072 DynamicJsonDocument doc (3072);

Then save, recompile and flash.

Olive80 commented 2 years ago

Great It's working perfectly !!! Thank again for your help and your nice project Best regard

oxinon commented 2 years ago

No problem, then I can close it here. And merry christmas :)