Last active
November 21, 2024 16:07
-
-
Save ddribin/0b90263fafab8d56804b32b6496bae5e to your computer and use it in GitHub Desktop.
Partial EBNF for Potentiometers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
part = "PDB18", gangs, "-" pin-type, detent, shaft-length, shaft-style, "-", resistance, taper ; | |
gangs = "1" | "2" ; | |
pin-type = | |
"K" (* PC pns vertical 12.5mm *) | | |
"A" (* PC pins, vertical 18.0mm *) ; | |
detent = | |
"2" (* Center detents *) | | |
"4" (* No Detents *) ; | |
shaft-length = (* in millimeters *) | |
"15" | "18" | "20" | "25" | "30" ; | |
shaft-style = | |
"F" (* Metal flatted *) | | |
"K" (* Metal knurled *) | | |
"P" (* Metal plain *) ; | |
(* Standard code, e.g. "103" = "1,000" *) | |
resistance = digit, digit, digit ; | |
taper = | |
"B" (* Linear *) | | |
"A2" (* Logarithmic, audio *) ; | |
digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source: Page 5 of https://www.bourns.com/docs/Product-Datasheets/PDB18.pdf