pppd-140 Today is Day

Pppd-140 __exclusive__ -

GPIO.setmode(GPIO.BCM) for pin in [RS, E, DB4, DB5, DB6, DB7]: GPIO.setup(pin, GPIO.OUT)

def send_nibble(bits, rs_val): GPIO.output(RS, rs_val) GPIO.output(DB4, (bits>>0) & 1) GPIO.output(DB5, (bits>>1) & 1) GPIO.output(DB6, (bits>>2) & 1) GPIO.output(DB7, (bits>>3) & 1) GPIO.output(E, 1); time.sleep(0.001); GPIO.output(E, 0) pppd-140

def send_byte(byte, is_data): send_nibble((byte>>4) & 0x0F, is_data) send_nibble(byte & 0x0F, is_data) time.sleep(0.002) # command execution time GPIO.setmode(GPIO.BCM) for pin in [RS