BinaryConverter class to change an binary code into an array of the different layers of the 7-segment display.
import BinaryConverter from './src/binaryConverter' const binaryConverter = new BinaryConverter(); binaryConverter.binaryTo7Segment("11110000");
converts the given binary code (string) to a array of the layers of the numbers
returns the array of the different layers of the 7-segment number
Generated using TypeDoc
BinaryConverter class to change an binary code into an array of the different layers of the 7-segment display.
import BinaryConverter from './src/binaryConverter' const binaryConverter = new BinaryConverter(); binaryConverter.binaryTo7Segment("11110000");