Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Display

Hierarchy

  • Display

Index

Methods

arrayToString

  • arrayToString(output: string[], timesBigger?: number): string
  • converts the given binary code (string) to a array of the layers of the numbers

    Parameters

    • output: string[]
    • Default value timesBigger: number = 1

    Returns string

    returns a string of the 7_segment display

printTemp

  • printTemp(temperature: string, frame?: boolean, timesBigger?: number): string
  • returns the 7-segment display of the given temperature or binary code.

    Parameters

    • temperature: string
    • Default value frame: boolean = false
    • Default value timesBigger: number = 1

    Returns string

    returns a string of the given temperature in 7-segment

Generated using TypeDoc