配置 PWM ADC LCD

This commit is contained in:
2026-07-14 17:51:39 +08:00
parent 0a5c478a42
commit 2d0d000a38
67 changed files with 33357 additions and 911 deletions

10
tools/to_escape.py Normal file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env python3
import sys
def main():
text = sys.argv[1] if len(sys.argv) > 1 else input("Enter Chinese: ")
escaped = ''.join(f'\\x{b:02X}' for b in text.encode('utf-8'))
print(escaped)
if __name__ == '__main__':
main()