8 Segment LED
Support for an 8 segment LED display.
An 8 segment LED display provides the capability of a single digit on a typical desktop calculator. The 8 segments are made up from 7 vertical or horizontal bars and a decimal point.
These 8 elements are labelled from 'a' to 'h' as follows:-
Each of the above elements is turned on or off using an output pin. So we require 8 output pins to control the led segment.
WebbotLib allows us to either turn individual segments on and off or write a character.
- off - Turn off an individual segment of the LED display.
- on - Turn on an individual segment of the LED display.
- put - Output a character to the LED display.
- set - Turns an individual segment on or off.