Axiometa
Push Button
Push Button
SKU:AX22-0007
Regular price
$2.99
Regular price
Sale price
$2.99
Unit price
per
Taxes included.
Shipping calculated at checkout.
Couldn't load pickup availability



-
Pinout
-
Interface
PCB Design
-
Top
-
Bottom
Arduino Example Code
// Constants
const int buttonPin = 15; // Pin numberz connected to the button
// Variables
int buttonState = 0; // Variable to hold the state of the button
void setup() {
// Initialize the button pin as an input
pinMode(buttonPin, INPUT);
// Initialize serial communication at 9600 bits per second
Serial.begin(9600);
}
void loop() {
// Read the state of the button
buttonState = digitalRead(buttonPin);
// Check if the button is pressed
if (buttonState == LOW) { // LOW means the button is pressed
// Print message to Serial Monitor
Serial.println("Button pressed");
}
// Small delay to avoid bouncing issues
delay(50);
}
Guides and Blogs
-
First time setup
Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.
-
Automatic Street Lights
Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.
-
How Does an LDR work ?
Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.