Skip to product information
1 of 4

Two Pad (Inline)

Two Pad (Inline)

SKU:AX22-0042

⏳ This item is currently sold out — a new batch is on its way and will be available soon!

This AX22-sized board mounts two tactile push buttons on a compact 22 × 22 mm PCB in a stacked layout .Each switch is pre-wired with its own 10 kΩ pull-up resistor and debounce. Drop it into any AX22 backplane to add game-style input, dual-function menu selects, or start/stop control in seconds, whether you’re coding in the Arduino IDE, MicroPython, or MicroBlocks.
Regular price $3.49
Regular price Sale price $3.49
Sale Sold out
View full details

Technical details

  • 22 mm × 22 mm square
  • 4× ⌀2.7 mm Mounting Holes
  • 2x Seperate Digital Outputs
  • 1.8 V, 3.3 V, 5.0 V
  • Arduino IDE Compatible
  • MicroPython Compatible
  • MicroBlocks Compatible
Component datasheet (opens in a new tab)

Drag to rotate

Pinout & connections

Pinout & connections

Technical Resources

Two Pad (Inline) - (AX22-0042)

Drag to rotate

Arduino example

ax22-0042.ino
#define PIN_BTN1 14  // IO1
#define PIN_BTN2 41  // IO2

void setup() {
  pinMode(PIN_BTN1, INPUT_PULLUP);
  pinMode(PIN_BTN2, INPUT_PULLUP);
  Serial.begin(9600);
}

void loop() {
  if (!digitalRead(PIN_BTN1)) {
    Serial.println("Button 1 Pressed");
  }

  if (!digitalRead(PIN_BTN2)) {
    Serial.println("Button 2 Pressed");
  }
}