Create new Segment instance
Specifying which segments of a 7 segment display it is
Specifying if the segment is turned on or not
Specifying which segments of a 7 segment display it is
Specifying if the segment is turned on or not
Returns the character to print for the segment instance
Generated using TypeDoc
Segment Class Designed to provide the user with a Segment object with info for if and what character to print
import { Segment } from '@maximva/examenopdracht-maximva' const segmentNumber = 1 const isTurnedOn = true const isSeparator = false const segment: Segment = new Segment(segmentNumber, isTurnedOn) console.log(segment.getCharacter())