Skip to main content

Displays and Switches Reference

Digital Display

void SetValue(float v)

  • Description: sets the digital display value.

Display7Segs

void Display(bool Seg_a, bool Seg_b, bool Seg_c, bool Seg_d, bool Seg_e, bool Seg_f, bool Seg_g, bool Seg_dp, bool multp1, bool multp2, bool strobe)

  • Description: sets the boolean values to manage the 7 segments display.

void DisplayValue(float value)

  • Description: shows the numeric value passed as parameter.

void DisplayCol(float r, float g, float b)

  • Description: sets the display color for red, green and blue values (0 to 1).

Push Button

bool Status

  • Description: returns button status

void ButtonLight(bool value)

  • Description: set light button On/Off

string ButtonLabelText

  • Description: sets/gets the button text label (if visible)

float Intensity

  • Description: sets the button/led light intensity

Selector

int SelectorPosition()

  • Description: returns current Selector position

float PotentiometerValue()

  • Description: Return current Potentiometer value.

Switch Lever

bool Status

  • Description: Returns current switch lever status

Switch Two Buttons

bool ButtonBlue

  • Description: Returns botton blue status

bool ButtonRed

  • Description: Returns botton red status