def disp_ipAddress(ipadr, intvl_sec): for idx in range(0, len(ipadr)): if "." in ipadr[idx]: info7seg_onDecimalPointOff(intvl_sec) else: val = int(ipadr[idx]) info7seg_onOff(val, intvl_sec)
def disp_0_9_DP(intvl): for idx in range(0, 11): info7seg_onOff(idx, intvl)