arduino-tm1637 icon indicating copy to clipboard operation
arduino-tm1637 copied to clipboard

Error compiling for Arduino Uno

Open VaderConsulting opened this issue 4 years ago • 11 comments

// ==============================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.

VaderConsulting avatar Jan 28 '21 13:01 VaderConsulting

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) { ^

danielbernalb avatar Feb 03 '21 22:02 danielbernalb

My temporal solution: Erase SevenSegmentFun.cpp and SevenSegmentFun.h Compile good becuase I don´t use this routines

danielbernalb avatar Feb 04 '21 02:02 danielbernalb

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".

oum100 avatar Apr 26 '21 14:04 oum100

This has already been fixed (in 6f4f084), but you have to manually download the current release (v1.1.1)

schumar avatar Jun 08 '21 17:06 schumar

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.

tofof avatar May 10 '22 16:05 tofof