AndrewBudziszek / bitcoin-ticker-esp8266

Bitcoin Ticker code for ESP8266
8 stars 1 forks source link

Coindesk API's not working #7

Open mattfox27 opened 1 year ago

mattfox27 commented 1 year ago

is there anyway to update this I think they have newer APIs

`C:\Users\Matt\Downloads\bitcoin-ticker-esp8266-main\bitcoin-ticker-esp8266-main\bitcoinTicker-esp8266\bitcoinTicker-esp8266.ino: In function 'void loop()': C:\Users\Matt\Downloads\bitcoin-ticker-esp8266-main\bitcoin-ticker-esp8266-main\bitcoinTicker-esp8266\bitcoinTicker-esp8266.ino:69:15: error: call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url) 69 | http.begin(url); | ~~^~~~~ C:\Users\Matt\Downloads\bitcoin-ticker-esp8266-main\bitcoin-ticker-esp8266-main\bitcoinTicker-esp8266\bitcoinTicker-esp8266.ino:103:17: error: call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url) 103 | http.begin(historyURL); | ~~^~~~

exit status 1

Compilation error: call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)`

mattfox27 commented 1 year ago

Nevermind, I was using the wrong board, i got it to work