Skip to content

Minimoll/Arduino-LCD-Button-Counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino LCD Button Counter

This project demonstrates an Arduino-based LCD button counter using the Arduino UNO R4 WiFi and an I²C LCD display. The sketch counts button presses, debounces the input, toggles an LED, and displays the count on a 16x2 LCD.

Features

  • Counts button presses and shows the count on a 16x2 LCD.
  • Implements reliable button debouncing.
  • Toggles an LED state each time the button is pressed.
  • Includes robust, native unit tests to verify debounce and counting logic.
  • Built using PlatformIO for professional embedded software development.

Hardware Requirements

  • Arduino UNO R4 WiFi
  • 16x2 LCD Display with I²C backpack
  • Pushbutton and LED
  • Breadboard and connecting wires

How to Build and Upload

Install PlatformIO

pip install platformio

Upload Firmware to Arduino

platformio run -e uno_r4_wifi --target upload

Run Unit tests

platformio test -e native

Dependencies

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published