amperka/segm8@1.0.2

License: AGPL-3

XOD library to interface with the Amperka SegM8 display module.
NodeDescription
clear
Clears all the SegM8 modules, i.e., turns off all their segments.
display-number
Displays a number value at the SegM8 module or several modules linked in a daisy chain.
display-text
A text string to display. The string should consist of next characters: "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "b", "C", "d", "E", "F", "G", "H", "I", "J", "L", "O", "P", "q", "r", "S", "t", "U", "Y", space, dot , "-" , "[", "]", quote, double quote, underscore, degree. Instead of unsupported characters, the overline is displayed. The dot "." character does not occupy the entire segM8 module.
example-blink
The example alternately lights up the symbol '8' and a dot on one module. The example uses 1 SegM8 module. CS pin is connected to Arduino pin 8. Hardware SPI is used.
example-clock
The example simulates a clock is displaying minutes and seconds. The example uses 4 SegM8 modules. CS pin is connected to Arduino pin 8. Hardware SPI is used.
example-clock-emulationNo description
example-counter
Quickstart usage example.
example-templates
This example shows how to apply a write-segments patch. An example on one module alternately shows the segment name (a-h) and then shows the segment itself. CS pin is connected to Arduino pin 8. Hardware SPI is used.
segm8-device
Device node for a single SegM8 display module or several modules linked in a daisy chain connected via hardware or software SPI interface. If the DO and CLK pin values are D255 the hardware SPI is used. Other DO and CLK pin values are used for the software SPI.
segm8-number
Displays a number value on a SegM8 module or several modules linked in a daisy chain.
write-segments
Turns on and off segments of a specific segM8 module.
To use the nodes in your project you should have the amperka/segm8 library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.