TaskScheduler
lcdgfx
Our great sponsors
TaskScheduler | lcdgfx | |
---|---|---|
5 | 1 | |
1,155 | 341 | |
- | - | |
0.0 | 4.4 | |
3 months ago | 11 days 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
lcdgfx
-
I finally understand enough about programming to make this simple little 3d starfield running on just an arduino
Using the lcdgfx library to handle the lowest level stuff. Implemented basic 'real 3D' rendering from this example from a buddy (for Pico8). The 3d projection math was a lot simpler than I thought it would be!
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
esp8266-oled-ssd1306 - Driver for the SSD1306 and SH1106 based 128x64, 128x32, 64x48 pixel OLED display running on ESP8266/ESP32
FastLED_examples - FastLED example code, tests, demos, etc
ssd1306 - Driver for SSD1306, SSD1331, SSD1351, IL9163, ILI9341, ST7735, PCD8544, Nokia 5110 displays running on Arduino/ESP32/Linux (Rasperry) platforms
LoLa - Low Latency Radio System
Attiny85 - RubberDucky like payloads for DigiSpark Attiny85
Adafruit_Sensor - Common sensor library
u8g2-kendryte-sdk-hal - u8g2 HAL (Hardware Abstraction Layer) ported for Kendryte SDK (K210). Currently the hw I2C protocol with DMAC support is available for use. SPI & SW bit-banging support (for I2c & SPI) is still in devlopment.
Arduino-AppleMIDI-Library - Send and receive MIDI messages over Ethernet (rtpMIDI or AppleMIDI)
SerialTransfer - Arduino library to transfer dynamic, packetized data fast and reliably via Serial, I2C, or SPI
Arduino-USBMIDI - Allows a microcontroller, with native USB capabilities, to appear as a MIDI device over USB to a connected computer
SI4735 - SI473X Library for Arduino