Pattern Library
Device Loop Patterns
Patterns are reusable starting points for common embedded development tasks. Choose a pattern, open it in VS Code, and the Temboo Agent will take it from there.
14 of 14 patterns
No patterns match these filters.
Try clearing the platform, category, or search term.
Clear filters
BLE
Initialize the BLE stack, advertise a device name, and expose a simple GATT service/characteristic that a central (phone/laptop) can discover and read.
GPIO
Drive a GPIO pin high/low on a fixed interval to blink an LED, confirming toolchain, flashing, and basic runtime execution.
Wi-Fi
Join a Wi-Fi network in station mode and perform a basic outbound HTTP request, confirming network stack bring-up and connectivity.
UART
Initialize a UART peripheral and echo received characters back over the same interface, confirming serial I/O bring-up and console/logging connectivity.
Power
Enter an appropriate low-power state and resume or restart from a supported wake source without losing expected application behavior.
PWM
Generate a stable PWM output at a configurable frequency and duty cycle.
BLE
Establish a secured Bluetooth LE relationship with a central using the nRF Connect SDK, persist bonding information, and recognize the bonded peer after reconnect and reboot.
Storage
Store a small configuration value in non-volatile storage and restore the latest value after reboot.
Reliability
Use a watchdog to distinguish healthy execution from an intentionally unresponsive path and produce the configured recovery behavior.
GPIO
Detect a digital input transition and produce exactly one application-level response per deliberate event.
Timing
Execute recurring work at a configurable cadence without accumulating significant drift or destabilizing the application.
Analog
Configure an ADC channel and produce stable, plausible samples from an analog input.
BLE
Accept a client subscription on a BLE-capable peripheral and deliver changing GATT characteristic values asynchronously via notifications.
Wi-Fi
Expose a minimal HTTP endpoint on a Wi-Fi-capable target that another host on the local network can call repeatedly.