maxint-rd / TM16xx

Arduino TM16xx library for LED & KEY and LED Matrix modules based on TM1638, TM1637, TM1640 and similar chips. Simply use print() on 7-segment and use Adafruit GFX on matrix.
164 stars 34 forks source link

TM1650.h compilation error #4

Closed RanTalbott closed 5 years ago

RanTalbott commented 5 years ago

Found under Arduino 1.8.4, compiling for Wemos D1 mini. I was actually compiling TM16xxMatrixGFX_Ticker.ino for a TM1640 display, but the IDE wanted to build everything it found in the library's src directory:

In file included from /root/Arduino/libraries/TM16xx-master/src/TM1650.cpp:12:0: /root/Arduino/libraries/TM16xx-master/src/TM1650.h:49:18: error: extra qualification 'TM1650::' on member 'receive' [-fpermissive] virtual byte TM1650::receive(); ^ exit status 1 Error compiling for board WeMos D1 R2 & mini.

Changing the line to: virtual byte receive();

eliminated the error message. It should have no effect on function, but I have no way to test, since I don't have any TM1650 devices.

maxint-rd commented 5 years ago

Fixed. Thank you Ran! (Don't know why my version of the IDE didn't complain)