Troubleshooting and mock objects for testing

By dave

Troubleshooting IO issues using LoggingIoAbstraction Within the MockIoAbstraction.h header there is an implementation of BasicIoAbstraction that delegates through a logging layer. If you are having difficulty determining what your code is sending and receiving, this could be useful. You simply introduce the logging abstraction between your regular abstraction and the device you're having trouble with. For example: Mock objects for use...

Getting started with the web menu designer

By dave

Summary Our web-based menu designer (TcMenu Turbo) is a new version of the menu designer that is designed to be more efficient and easier to use with zero install. This guide assumes initializer mode . In this mode your menu project will generate all plugin code and wiring into a and . Along with this, the menu will be generated...

TcMenu - Overview and quick start

By dave

Menu library and designer for Arduino and mbed TcMenu is a modular, IoT ready multi-level menu library for Arduino and mbed supporting many input, display and IoT / remote interfaces. It makes presenting configuration, status and operational information much easier. First, you design your menu structure using the designer UI, then using the code generator you convert your menu structure into...

Timed blink - IO Abstraction library example

By dave

Timed blink is a version of well known Arduino blink example that is shipped with the standard IDE, but is redesigned to use the Abstraction and timer library. Example circuit for the code is exactly the same a blink, and if you use the inbuilt LED pin (which it does by default) then there's no need to build any circuit...

Using menu designer as an embedded initializer

By dave

You can choose to use tcMenu embedded menu designer as an initializer. This means that you can add new menu items without having to rebuild your project. This makes it much easier to use tcMenu. In the initializer case, the intended workflow is to create a project that works with a given display driver and input configuration and then manage the...

Multi language locale based menu for Arduino and mbed

By dave

Your embedded menu project can use Java-style resource bundles . You define translated strings in an directory, refer to those strings from your menu definition or C++ code, and the code generator creates C++ headers for the selected language. We enable the support by adding an directory within the project that has at least a properties file named ...

Embedded Java for Raspberry PI and other embedded Linux

By dave

Embedded Java for Raspberry PI and Linux works slightly differently to the C++ project creator in that it is a starter project with a webserver and JavaFX UI built in. After project creation you then go about configuring the project how you like, and the designer will keep the menu callbacks up-to-date in the controller, the menu definitions that make up...

Rendering using themes - properties, grids and icons

By dave

Most display plugins can be customized using TcThemeBuilder, a utility class that allows you to simply configure fonts, colors, spacing, grids and icons. To the left you can see cool-blue theme with a multi-column grid layout. Grids allow for multi-column menus by breaking rows up into multiple columns. You can configure graphical settings at the default level, or even override settings...

Setting up IO-expanders in the menu designer

By dave

Setting up IO devices has been made much easier as of V2.2 of the designer software. you can now directly edit the IO expander configurations directly within tcMenu. When we discuss IO devices we are talking about objects that refer to either device pins, or any other device such as I2C expanders or shift registers from the IoAbstraction library ....

Integrating EEPROM support into menu applications

By dave

Menu Manager makes it easy to load from and save values to EEPROM between runs. Each menu item can optionally have a storage point in the EEPROM area (-1 / 0xffff means not stored). Any items that have a valid EEPROM address will be persisted upon calling the function on menuMgr, and similarly, will be read back by calling ....

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.