diff --git a/__pycache__/stockTicker.cpython-37.pyc b/__pycache__/stockTicker.cpython-37.pyc index ca93096..71a15fd 100644 Binary files a/__pycache__/stockTicker.cpython-37.pyc and b/__pycache__/stockTicker.cpython-37.pyc differ diff --git a/final.ppm b/final.ppm index e93aeb4..d5d8f0a 100755 Binary files a/final.ppm and b/final.ppm differ diff --git a/stockTicker.py b/stockTicker.py index 782604d..00f165d 100644 --- a/stockTicker.py +++ b/stockTicker.py @@ -44,7 +44,7 @@ class StockTicker(): options = RGBMatrixOptions() options.rows = 32 options.cols = 64 - options.chain_length = 1 + options.chain_length = 2 options.parallel = 1 options.hardware_mapping = 'adafruit-hat' # If you have an Adafruit HAT: 'adafruit-hat' options.gpio_slowdown = 3 @@ -129,11 +129,11 @@ class StockTicker(): break elif msg == 's': - stock_ticker.delay = 0.04 + stock_ticker.delay = 0.03 elif msg == 'm': - stock_ticker.delay = 0.02 - elif msg == 'f': stock_ticker.delay = 0.01 + elif msg == 'f': + stock_ticker.delay = 0.005 elif msg in ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']: self.brightness = min(1.0, float(msg)/10 + 0.1) @@ -350,11 +350,11 @@ if __name__ == '__main__': elif msg == 's': - stock_ticker.delay = 0.04 + stock_ticker.delay = 0.03 elif msg == 'm': - stock_ticker.delay = 0.02 - elif msg == 'f': stock_ticker.delay = 0.01 + elif msg == 'f': + stock_ticker.delay = 0.005 elif msg in ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']: stock_ticker.brightness = min(1.0, float(msg)/10 + 0.1)