I got thi piece of code from here
https://github.com/openhardwarelabs/bitcoin-ticker/blob/master/bitcoin_ticker/bitcoin_ticker.ino
basically the part below I h