Omega2+ Crypto Coin Display (Bash)
mrcbrown Aug 22nd, 2017 (edited) 19 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- ## Set Your Currency
- ## Coin Amounts
- ## Clear OLED Screen
- oled-exp -i
- ## Create Values
- btc=$(php-cli coins.php 'BTC' $curr $btct)
- eth=$(php-cli coins.php 'ETH' $curr $etht)
- dash=$(php-cli coins.php 'DASH' $curr $dasht)
- ltc=$(php-cli coins.php 'LTC' $curr $ltct)
- ## Display on Screen
- oled-exp write "CURRENT VALUE\nLTC: $ltc\nBTC: $btc\nETH: $eth\nDASH: $dash"
RAW Paste Data