Quantcast
Viewing all articles
Browse latest Browse all 5346

Other projects • Re: Thermal Printer Firmware with RPI 3a+ Troubleshoot

Hmm. Some useful information in those links.

Try this:

Code:

import serialuart = serial.Serial ("/dev/serial0", baudrate=9600, timeout=3000)uart.write(b'\x1C.') # "FS." turn off Chinese modeuart.write(b'Hello world.\n')uart.close()

Statistics: Posted by ame — Sun Dec 10, 2023 4:08 am



Viewing all articles
Browse latest Browse all 5346

Trending Articles