arduino-tm1637
arduino-tm1637 copied to clipboard
Error compiling for Arduino Uno
// ==============================INCLUDES========================================= #include "SevenSegmentTM1637.h" #include "SevenSegmentExtended.h"
// Date and time functions using a DS1307 RTC connected via I2C and Wire lib #include <Wire.h> #include "RTClib.h" #include <time.h>
#include <MsTimer2.h> #include <NSEncoder.h>
// ====================================================================== // Display // Instantiation and pins configurations // Pin 12 - > DIO // Pin 13 - > CLK SevenSegmentExtended display(13, 12);
C:\Users\windo\OneDrive\Documents\Arduino\libraries\SevenSegmentTM1637\src\SevenSegmentFun.cpp:187:80: error: no 'void SevenSegmentFun::bouncingBall(uint16_t, uint16_t, bool)' member function declared in class 'SevenSegmentFun' void SevenSegmentFun::bouncingBall(uint16_t moves, uint16_t d, bool runForever) { ^ C:\Users\windo\OneDrive\Documents\Arduino\libraries\SevenSegmentTM1637\src\SevenSegmentFun.cpp: In member function 'void SevenSegmentFun::print4Bit(uint8_t, uint8_t, uint8_t)': C:\Users\windo\OneDrive\Documents\Arduino\libraries\SevenSegmentTM1637\src\SevenSegmentFun.cpp:250:65: warning: unused parameter 'y' [-Wunused-parameter] void SevenSegmentFun::print4Bit( const uint8_t x, const uint8_t y, uint8_t symbol) { ^ exit status 1 Error compiling for board Arduino Uno.
I have the same problem with Arduino UNO: ...........src\SevenSegmentFun.cpp:187:80: error: no 'void SevenSegmentFun::bouncingBall(uint16_t, uint16_t, bool)' member function declared in class 'SevenSegmentFun' void SevenSegmentFun::bouncingBall(uint16_t moves, uint16_t d, bool runForever) { ^
My temporal solution: Erase SevenSegmentFun.cpp and SevenSegmentFun.h Compile good becuase I don´t use this routines
I got the same error. This error was wrong typing of "bouncingBall" in file SevenSegmentFun.cpp in line 187. It not the same as declare in SevenSegmentFun.h. To fixed it just correct it to "bouchingBall".
This has already been fixed (in 6f4f084), but you have to manually download the current release (v1.1.1)
This has already been fixed (in 6f4f084), but you have to manually download the current release (v1.1.1)
I believe the reason you have to manually download instead of using PlatformIO's version is that library.properties didn't get a version bump with the 1.1.1 release so PlatformIO's crawler hasn't updated to use 1.1.1.