pins: Document support for '~' to enable pull-down resistors

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2019-03-17 21:07:31 -04:00
parent 4a35f927fc
commit 53290664ee
2 changed files with 8 additions and 6 deletions

View File

@@ -183,7 +183,7 @@ class PrinterPins:
if [c for c in '^~!: ' if c in pin]:
format = ""
if can_pullup:
format += "[^] "
format += "[^~] "
if can_invert:
format += "[!] "
raise error("Invalid pin description '%s'\n"