This function sets or removes the apostrophe displayed after the third digit. It is useful for displaying parameters like angles or temperature.
setApostrophe(byte value)
value: whether the apostrophe is to be set or cleared. A '0' (or false) will remove the apostrophe while a '1' (or true) will set the colon.
(:source:)
Multiplex7SegSW sevenseg1;
void setup() {
sevenseg1.set(1, noOfDigits, digitPins, segmentPins);
}
void loop() {
sevenseg1.setApostrophe(true);
}
(:sourceend:)
This text is from the Papilio reference and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.