Open mattfox27 opened 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)`
Nevermind, I was using the wrong board, i got it to work
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)`