TaskScheduler
pcd8544
Our great sponsors
TaskScheduler | pcd8544 | |
---|---|---|
5 | 2 | |
1,160 | 90 | |
- | - | |
0.0 | 1.8 | |
3 months ago | over 3 years ago | |
C++ | C++ | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
TaskScheduler
-
How do you make a code that does like 2 or 3 things simulatneously?
When you get a little more advanced it's not hard to extend the BWD code to hsndle any number of "time when something should happen". Or you can use something like the TaskScheduler library.
-
Understanding the rarely seen EVERY_N_MILLIS_I ?
Or just use TaskScheduler and never have to worry about this again. https://github.com/arkhipenko/TaskScheduler
-
Event-driven architecture
For reference, I'm a big fan of this scheduler in particular, due to it's simplicity, OO support and a neat extra of sleeping each unused millisecond (low power for free).
-
Current consumption between arduino and HAL?
One of my favourite low power techniques involves using a scheduller for your loop code, and sleep for 1 ms at a time when there are no tasks to run. As seen here.
-
Garden irrigation system based on ESP32
Have you looked at the task scheduler library? https://github.com/arkhipenko/TaskScheduler
pcd8544
-
Can I use this library with an ATtiny85?
All the pins can be changed from the default values you just need to set them when you call the constructor. Look here: https://github.com/carlosefr/pcd8544/blob/6555ce575565724afbf9bc84d341082d2059f99b/PCD8544.h#L65
What are some alternatives?
Arduino-Libs - Arduino Libs & Examples: ADS1147, ADS7846, DAC8760, DS1307, RV8523, MCP2515, WS2812, S65-Display, MI0283QT-2/-9/-11, HX8347D, ILI9341, SSD1331
LiquidCrystal_PCF8574 - A library for driving LiquidCrystal displays (LCD) by using the I2C bus and an PCF8574 I2C adapter.
FastLED_examples - FastLED example code, tests, demos, etc
Arduino-MQ131-driver - Arduino driver for gas sensor MQ131 (Ozone / O3)
LoLa - Low Latency Radio System
hl-alyx-glove - Firmware and Hardware for a Half-Life: Alyx Gravity Glove Replica
Adafruit_Sensor - Common sensor library
TM16xx - Arduino TM16xx library for LED & KEY and LED Matrix modules based on TM1638, TM1637, TM1640 and similar chips. Simply use print() on 7-segment and use Adafruit GFX on matrix.
Arduino-AppleMIDI-Library - Send and receive MIDI messages over Ethernet (rtpMIDI or AppleMIDI)
GEM - Good Enough Menu for Arduino
lcdgfx - Driver for LCD displays running on Arduino/Avr/ESP32/Linux (including Rasperry) platforms
ATtiny84-TinyCalibrator - OSC Calibrator and High-Voltage Fuse Resetter for 8-Pin ATtinys