
Technical details
- 22 mm × 22 mm square
- 4× ⌀2.7 mm Mounting Holes
- 5 A @ 28 V DC / 2 A @ 250 V AC rating
- On Board Debounce
- 1.8 V, 3.3 V, 5.0 V
- Arduino IDE Compatible
- MicroPython Compatible
- MicroBlocks Compatible
Drag to rotate
Pinout & connections
Arduino example
#define TOGGLE_PIN 14
void setup() {
Serial.begin(9600);
pinMode(TOGGLE_PIN, INPUT);
}
void loop() {
int toggleValue = digitalRead(TOGGLE_PIN);
Serial.print("Toggle Value: ");
Serial.println(toggleValue);
delay(10);
}