Serial7SegmentDisplay icon indicating copy to clipboard operation
Serial7SegmentDisplay copied to clipboard

Compilation Error

Open Tommy38cal opened this issue 2 years ago • 0 comments

Hi, I am getting two compilation errors in the Arduino IDE. One was a capitalization error on setBrightness. The other is

Compilation error: 'class SevSeg' has no member named 'displayString'

\Arduino\Serial_7_Segment_Display_Firmware\Serial_7_Segment_Display_Firmware.ino: In function 'void displayData()': \Arduino\Serial_7_Segment_Display_Firmware\Serial_7_Segment_Display_Firmware.ino:114:15: error: 'class SevSeg' has no member named 'displayString' myDisplay.displayString(display.digits, display.decimals); //(numberToDisplay, decimal point location)

I couldn't find this function in the SevSeg .cpp or .h. Can you advise? I thought it might have just been a mistake and looked for other ones that have the same inputs but to no avail. I think setChars was the closest.

Tommy38cal avatar Mar 08 '23 00:03 Tommy38cal