use tessel.sleep instead of spinloop