Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ## Set Your Currency
- curr=$'USD'
- ## Coin Amounts
- ltct=$'200'
- btct=$'200'
- etht=$'200'
- dasht=$'200'
- ## 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"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement