name = "steve/slide-switch-tht" version = "1.0.0" runtime = "steve" license = "MIT" summary = "Miniature through-hole SPDT slide switches, C&K OS102011: vertical (MS2Q) and right-angle (MA1Q), from C&K's OS series data sheet." description = """Miniature through-hole SPDT slide switch, C&K OS series OS102011, from C&K's data sheet (8 aug 17): a steel shell 8.6 long and 4.7 high over a phenolic base, a 2.0 mm square actuator with 2.0 mm travel, three terminals on a 2.0 mm pitch and a snap-in leg at each end, 8.2 apart. MS2Q stands upright with the actuator 4.0 above the shell; MA1Q is the right-angle version with the actuator 4.0 out of the shell's front, 2.6 above the board. See the README.""" tags = ["slide-switch", "switch", "spdt", "through-hole", "c-and-k", "electronics"] [parameters.kind] type = "choice" default = "MS2Q" choices = ["MS2Q", "MA1Q"] label = "Type" description = "MS2Q: vertical (actuator up); MA1Q: right angle (actuator parallel to the board)." [parameters.position] type = "integer" default = 2 min = 1 max = 2 label = "Actuator position" description = "1 or 2 (the data sheet draws position 2)." [[presets]] id = "os102011ms2q" title = "C&K OS102011MS2Q, SPDT miniature slide switch, vertical" params = { kind = "MS2Q" } aliases = ["C&K OS102011MS2Q", "OS102011MS2QN1", "OS102011MS2QN1C", "OS102011MS2QS1", "OS102011MS2QS1C"] standard = "C&K OS" [[presets]] id = "os102011ma1q" title = "C&K OS102011MA1Q, SPDT miniature slide switch, right angle" params = { kind = "MA1Q" } aliases = ["C&K OS102011MA1Q", "OS102011MA1QN1", "OS102011MA1QN1C", "OS102011MA1QS1", "OS102011MA1QS1C"] standard = "C&K OS"