TheCodersCorner.com items tagged with arduino.

Working with numeric values - AnalogMenuItem

By dave

Working with Analog Items An item that can represent an integer, fractional, or decimal numeric value that can be editable using a rotary encoder or touch scroll/slider control. Currently, the underlying value is a 16-bit unsigned integer value but the maximum range is from -32768 to +32767. This is because we can make it appear negative by providing a negative offset....

Working with text, date, time and IP address items -

By dave

An item that represents a complex data type that needs to be edited a part at a time. The value is generally held in RAM and can usually be saved in EEPROM between sessions. These items take various forms on the embedded side, either an Ip Address, date, time or plain text. Time menu items allow for the editing of...

Working with boolean values - BooleanMenuItems

By dave

An item that can represent only boolean true or false. It can be configured to show as ON/OFF, TRUE/FALSE or YES/NO as required. Type information for BooleanMenuItem Class Type: / in MenuItems.h Enum returned by is MENUTYPE_BOOLEAN_VALUE This item is based on an Info block Information applicable to all menu items BooleanMenuItem reference documentation Creating an object...

Working with RGB color choice items - Rgb32MenuItem

By dave

An item type that represents a color in the Red Green Blue space, optionally also having an Alpha. Colors are represented as values between 0 and 255 for each part and optionally an additional part for Alpha. Type information for Rgb32MenuItem Type: with default callback of in Enum returned by is MENUTYPE_COLOR_VALUE This item is based on RuntimeMenuItem...

Working with fixed choices - EnumMenuItems

By dave

An item that can represent a known series of values where only one can be selected at a time. Somewhat like a combo box. For enum items these values must be set at compile time, and on AVR / ESP they are in program memory. We store the choice as a zero based integer with the first choice being 0 and...

Detailed description of MenuInfo based menu items

By dave

All types of MenuItem can have an INFO block, which is a structure that can be stored in FLASH that represents the static data for an item. This is because all items directly extend from the MenuItem class, they always have a reference to an AnyMenuInfo block that's stored in program memory on devices that support it. In addition to this,...

Detailed description of RuntimeMenuItem

By dave

Items that extend from runtime menu item use a callback at runtime that can be used to get more or less every property, but will use the INFO block if it is available (not null). That being the case, they don't need but can use an info block (that is defined ahead of time) ahead of time. However, in...

Heltek Wifi kit 8 pin outs marked wrongly on some silk screens

By dave

I recently bought a Heltek Wifi kit 8 and noticed that although the board itself seems to be a good board the pin-outs, both online and on the silk screen of the board are wrongly specified. For example the silk screen shows SDA and SCL on non standard pins, but this is not the case as far as I can tell....

Detecting power loss in a power supply

By dave

There are times when your program needs to react to your device being turned off, for example to save the current state of an Arduino sketch to EEPROM before shutting down, or to disengage relays in a power module to ensure there is a clean shutdown. Usually, the power loss detector is designed as part of the power supply, so...

Making an arduino board holder from ply & wood

By dave

Making a nice case for an Arduino board can range from the simplest possible case , a piece of plywood the right size, with a few holes to mount the board, right through to an intricate box with closing lid etc. This one probably falls in the middle somewhere. Why another Arduino board holder you ask? Now that my son has...

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.