A curated, community-maintained library for the popular Multi Function Shield (buttons, LEDs, displays, sensors, and more).
Don't forget to star ⭐ this repository |
- Timer configuration
- LED digit display handling (text, int, float)
- Manual LED digits refresh
- LED digit blinks and selection
- Beeper handling (also inverted polarity fix)
- Buttons handling
- Sonar reading feature
- LM35 sensor support
- MPU6050 support
- LED brightness handling
Here some features contributed by the community regarding the original one:
- Reverse Beeper Polarity Support
- Missing digits supported
- Removed warnnings and improved size casts
- Support for Atmega328
- PlatformIO support
- CI Unit tests
- ESP8266 basic support (it has less pins, see branch)
- Fixed conflic issues on ATmega328P (i.e Axiometa SPARK board)
- Metronome example and Speedometer improv
Please see the examples for details.
Please install first PlatformIO open source ecosystem for IoT development compatible with Arduino IDE and its command line tools (Windows, MacOs and Linux). Also, you may need to install git in your system.
For run a complete demo of this library using PlatformIO, please follow the next steps:
git clone https://github.com/hpsaturn/mfstimer.git
cd mfstimer
pio run -e uno --target upload
This is a full PlatformIO project of countdown timer with some improvements than the original sample of this library.
- First version by Hackatronics - Cohesive Computing
- Reverse beeper polarity support by @partsdept
- Improved digits support by @hugodopradofernandes
- Atmega328 support by @victor1115
- Metronome example and Speedometer improvs by @marcosabcarvalho