# Switch and Cap Assortment Pack

**Type:** Product page · **SKU:** CE08583 · **Brand:** [Core Electronics](https://core-electronics.com.au/brands/core-electronics-australia)
**Page:** https://core-electronics.com.au/makerverse-switch-and-cap-assortment-1.html ([markdown](https://core-electronics.com.au/makerverse-switch-and-cap-assortment-1.html.md))

A pack of breadboard compatible set of push buttons with colourful caps.

## Pricing

- **Price:** $2.70 (inc GST) — $2.45 AUD, exc GST
- **Quantity discounts:** 10+ $2.21 (exc GST) · 50+ $2.09 (exc GST)

## Availability & dispatch

- In stock, ships same business day if ordered before 2PM (Australia/Sydney).
- We can dispatch 209 today; more stock is typically available with a 8–12 day lead time.

## Description

Add the iconic pushbutton to your project!

**Includes:**

- 4x 12mm Tactile buttons
- 4x Button caps (one red, green, blue, and white)

### Examples

#### Raspberry Pi Pico - Micropython

 ```
from machine import Pin
import time

"""
Setup the button on Pin 16, and set to Pull UP
as the other side of the button is wired to ground
"""
button = Pin(0, Pin.IN, Pin.PULL_UP)

while True:
    if not button.value():  # Pin is LOW, button is pressed
        print('Pressed')
    else:  # Pin in HIGH, button is not pressed
        print('Not pressed')
    time.sleep_ms(500)
```

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/c/e/ce08583.jpg)
