sparkfun / Serial7SegmentDisplay

Example code and board files for the Serial 7 Segment Display.

Home Page:https://www.sparkfun.com/products/11629

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilation Error

Tommy38cal opened this issue · 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.