LiquidCystalIO with PicoSDK/mbed/NativeCpp over i2c or pins

By dave

LiquidCrystalIO is now also compatible with PicoSDK and mbed boards. It supports regular mbed pins, I2C backpacks based on PCF8574 and MCP23017 based connections. You can adapt any of the Arduino examples for mbed very easily, as the API is 99% the same. The most recent examples for this are in our native C++ CMake project in https://github.com/TcMenu/tcLibraryDev Back to the...

EEPROM implementations that are seamless between 8 and 32 bit

By dave

If like me you use both 8 bit AVR and 32 bit boards, you've probably already noticed that there's no EEPROM support on some 32 bit boards. I think that's quite unfortunate as EEPROM storage is very useful for many applications. Relying on memory backup like many systems today do, is nowhere near as reliable (a flat battery loses everything). Further,...

Working with Menu Item types in tcMenu

By dave

Many embedded applications need to present status and allow users to manage settings. TcMenu provides first class support for both presenting status and managing configuration/settings using menu items. It is possible to use with and without a local user interface. All menu item types can be accessed remotely, and we have a remote API, UI solutions, and connectors to commercial IoT...

PGA2310 Volume Control device for IoAbstraction

By dave

PGA2310 Volume Control device Provides a simple analog device that can be used to control a PGA2310 volume device. Left channel is 0 and right channel is 1. The device should be connected on the SPI bus as usual. This should work with Arduino now, and mbed in a patch release coming soon. To use first include the header: Then initialise...

Arduino text utilities in IoAbstraction

By dave

IoAbstraction comes with a few text utilities that can be helpful when rendering text as raw character arrays. Internally, IoAbstraction and TcMenu DO NOT use any string objects to avoid runtime memory allocation. See the complete text utility documentation To use the text utilities you need to include the header Often times, we need to build text up within a buffer,...

Arduino logging using io-logging

By dave

Logging is part of the TcMenu offering provided by library , it has a moderately complete logging framework that is still lightweight enough to work on small boards. It can easily be turned off completely for very small boards too. TaskManagerIO, IoAbstraction and tcMenu use this logging to provide information about internal state and operations. You can also use this logging...

Task Manager - Spin Lock guide

By dave

Task Manager supports the concept of Spin Locks to protect sensitive asynchronous operations from becoming interleaved. For example, to protect sensitive blocks of code. Be very aware that this does not include a memory barrier. A spin lock loops waiting for the lock to become available, you can either spin for a period of time, or until the lock is...

IoAbstraction - Cross platform build support

By dave

General Arduino On all devices we try to configure the device to the highest precision possible, and provide read and write methods based on float values between 0 and 1. Notes for mbed For mbed we support mbed V5 and V6 Bare-Metal and RTOS. Pins are managed using the underlying gpio methods. Interrupts are managed using . Analog input PWM output,...

All library - Cross platform build support

By dave

Moved, see [arduino-libraries.md] for the list.

Marshalling interrupts into TaskManagerIO tasks

By dave

Interrupt handling is generally an advanced topic, but this library provides a very simple way to handle interrupts. There are two ways to handle interrupts in TaskManagerIO, the first is by marshalling, and the second is by writing an event. We recommend that all new code uses the event method to handle interrupts , although we have no plans to deprecate...

These may be of interest

We use cookies to analyse traffic and to personalise content. We also embed Twitter and Youtube on some pages, these companies have their own privacy policies.

See the privacy policy and terms of use of this site should you need more information or wish to adjust your settings.