Example #1
0
    "RL ",
    (0, screen_pixels.h / 2, screen_pixels.w / 2, screen_pixels.h / 2),
    (screen_pixels.w * 1 / 8 + X_N_OFFSET,
     (Y_N_OFFSET + screen_pixels.h * 3 / 4)),
    (screen_pixels.w * 1 / 8 + X_N_OFFSET,
     (Y_P_OFFSET + screen_pixels.h * 3 / 4)),
    (0 + Y_P_OFFSET, (screen_pixels.h) + Y_STATUS_N_OFFSET)  # status position
)

logger = TPMLogger("tire_data")
radio_dev = Radio(RADIO_PORT)

Tires = [FL, FR, RR, RL]

print "Downloading Receiver Configuration..."
radio_dev.configure_device()
print "Done! "
'''
##############################################################
#######     Test cases implementation UI testing       #######   
##############################################################

def test_params(presvalues, tempvalues):
    index = 0
    for tire in Tires:
        tire.update_params(presvalues[index], tempvalues[index])
        index = index + 1
#############################################################
'''
count = 0
# -------- Main Program Loop -----------