Reference | All - Docs - Libraries - Soft Processors - Cores

Multiplex7SegSW

update ()

Description

This function must be called periodically from the loop function to update the display. It multiplexes the display digits by rapidly displaying one digit at a time. It takes characters stored in the display buffer and displayed them according to the character set used by the library.

Syntax

update()

Parameters

none

Example

(:source:)

  1. include <Multiplex7SegSW>;

Multiplex7SegSW sevenseg1;

void setup() {

  sevenseg1.set(1, noOfDigits, digitPins, segmentPins);

}

void loop() {

  sevenseg1.update();

}

(:sourceend:)

This text is from the Papilio reference and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.

  

Share |