import max7219.led as led
import time

device = led.sevensegment(cascaded = 1)
device.brightness(5)

while True:

	with open('my.log', 'r') as f:
		lines = f.read().splitlines()
		last_line = lines[-1]
		combinedNumbers = last_line[:2] + last_line[3:9]
		numberToDisplay = int(combinedNumbers)
	#	print last_line

		device.write_number(deviceId=0, value=numberToDisplay)

		time.sleep(0.01)

b6511dede311900b7f3985d717c8d49e7019fc68
<mask token>

<mask token>
device.brightness(5)
while True:
    with open('my.log', 'r') as f:
        lines = f.read().splitlines()
        last_line = lines[-1]
        combinedNumbers = last_line[:2] + last_line[3:9]
        numberToDisplay = int(combinedNumbers)
        device.write_number(deviceId=0, value=numberToDisplay)
        time.sleep(0.01)

<mask token>
device = led.sevensegment(cascaded=1)
device.brightness(5)
while True:
    with open('my.log', 'r') as f:
        lines = f.read().splitlines()
        last_line = lines[-1]
        combinedNumbers = last_line[:2] + last_line[3:9]
        numberToDisplay = int(combinedNumbers)
        device.write_number(deviceId=0, value=numberToDisplay)
        time.sleep(0.01)

import max7219.led as led
import time
device = led.sevensegment(cascaded=1)
device.brightness(5)
while True:
    with open('my.log', 'r') as f:
        lines = f.read().splitlines()
        last_line = lines[-1]
        combinedNumbers = last_line[:2] + last_line[3:9]
        numberToDisplay = int(combinedNumbers)
        device.write_number(deviceId=0, value=numberToDisplay)
        time.sleep(0.01)

import max7219.led as led
import time

device = led.sevensegment(cascaded = 1)
device.brightness(5)

while True:

	with open('my.log', 'r') as f:
		lines = f.read().splitlines()
		last_line = lines[-1]
		combinedNumbers = last_line[:2] + last_line[3:9]
		numberToDisplay = int(combinedNumbers)
	#	print last_line

		device.write_number(deviceId=0, value=numberToDisplay)

		time.sleep(0.01)
