diff --git a/littleprynter.py b/littleprynter.py index 269fe98..804ff21 100644 --- a/littleprynter.py +++ b/littleprynter.py @@ -94,7 +94,7 @@ def print_image(): def print_text(): if session.get('logged_in'): if len(request.form['message']) < 200: - printer = Adafruit_Thermal('/dev/serial0', 19200, timeout=5) + printer = Adafruit_Thermal('/dev/ttyAMA0', 19200, timeout=5) printer.begin() printer.justify('L') printer.println((request.form['message']).encode())