diff --git a/i2c/string.py b/i2c/string.py new file mode 100755 index 0000000..5ba3b19 --- /dev/null +++ b/i2c/string.py @@ -0,0 +1,11 @@ +#!/usr/bin/env python + +import sys +import smbus + +bus = smbus.SMBus(1) +address = 0x23 + +for c in sys.argv[1]: + bus.write_byte(address, ord(c)) +