TheCodersCorner.com items tagged with library.

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...

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 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...

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...

Designing menu layouts using web designer

By dave

From the tab in the header, you can visually create your embedded menu in the web editor interface. From here you can adjust the menu structure, add menu items, sub-menus, and configure their properties. Any items you add will be inserted in the currently selected sub-menu. Just as with desktop designer, copy and paste works too. In addition to adding...

Menu Code generation for Arduino, PicoSDK, mbed

By dave

TcMenu supports a wide range of displays, input devices, and remote control options. To support such a range of hardware, a plugin system is required. Once you're menu is edited and ready, select from the page header to open the generator page. We'll discuss the page below. Each part of this page is discussed in detail below. Configuring the board...

Working with menu structures using the CLI

By dave

From tcMenu 2.1 onwards the designer download also has a CLI available. This CLI can be used to completely round trip menus for those with a UI dislike, or even for small changes for the rest of us. We've optimized the flow so that it works really well with Visual Studio code (VS-code), but most editors would work fairly well. In...

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.