BornaBiro / Maker_LED_Matrix_32

2 stars 5 forks source link

Examples do not compile #2

Open FischOderAal opened 5 years ago

FischOderAal commented 5 years ago

I have the issue that I cannot compile any examples.

These are the faults I'm being shown:

Arduino: 1.8.5 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), ck, 26 MHz, 40MHz, QIO (fast), 512K (no SPIFFS), 2, nonos-sdk 2.2.1 (legacy), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

C:\Users\simon\Documents\Arduino\libraries\Maker_LED_Matrix_32\Maker_LED_Matrix_32.cpp:11:33: error: no matching function for call to 'IS31FL3731::IS31FL3731()'

 IS31FL3731 matrixL = IS31FL3731(); //LED Matrix IC on the left side of board.

                                 ^

C:\Users\simon\Documents\Arduino\libraries\Maker_LED_Matrix_32\Maker_LED_Matrix_32.cpp:11:33: note: candidates are:

In file included from C:\Users\simon\Documents\Arduino\libraries\Maker_LED_Matrix_32\Maker_LED_Matrix_32.cpp:5:0:

C:\Users\simon\Documents\Arduino\libraries\IS31FL3731/IS31FL3731.h:32:4: note: IS31FL3731::IS31FL3731(uint8_t)

    IS31FL3731(uint8_t n);

    ^

C:\Users\simon\Documents\Arduino\libraries\IS31FL3731/IS31FL3731.h:32:4: note:   candidate expects 1 argument, 0 provided

C:\Users\simon\Documents\Arduino\libraries\IS31FL3731/IS31FL3731.h:27:7: note: constexpr IS31FL3731::IS31FL3731(const IS31FL3731&)

 class IS31FL3731 : public Adafruit_GFX {

       ^

C:\Users\simon\Documents\Arduino\libraries\IS31FL3731/IS31FL3731.h:27:7: note:   candidate expects 1 argument, 0 provided

C:\Users\simon\Documents\Arduino\libraries\IS31FL3731/IS31FL3731.h:27:7: note: constexpr IS31FL3731::IS31FL3731(IS31FL3731&&)

C:\Users\simon\Documents\Arduino\libraries\IS31FL3731/IS31FL3731.h:27:7: note:   candidate expects 1 argument, 0 provided

C:\Users\simon\Documents\Arduino\libraries\Maker_LED_Matrix_32\Maker_LED_Matrix_32.cpp:12:33: error: no matching function for call to 'IS31FL3731::IS31FL3731()'

 IS31FL3731 matrixR = IS31FL3731(); //LED Matrix IC on the right side of board.

                                 ^

C:\Users\simon\Documents\Arduino\libraries\Maker_LED_Matrix_32\Maker_LED_Matrix_32.cpp:12:33: note: candidates are:

In file included from C:\Users\simon\Documents\Arduino\libraries\Maker_LED_Matrix_32\Maker_LED_Matrix_32.cpp:5:0:

C:\Users\simon\Documents\Arduino\libraries\IS31FL3731/IS31FL3731.h:32:4: note: IS31FL3731::IS31FL3731(uint8_t)

    IS31FL3731(uint8_t n);

    ^

C:\Users\simon\Documents\Arduino\libraries\IS31FL3731/IS31FL3731.h:32:4: note:   candidate expects 1 argument, 0 provided

C:\Users\simon\Documents\Arduino\libraries\IS31FL3731/IS31FL3731.h:27:7: note: constexpr IS31FL3731::IS31FL3731(const IS31FL3731&)

 class IS31FL3731 : public Adafruit_GFX {

       ^

C:\Users\simon\Documents\Arduino\libraries\IS31FL3731/IS31FL3731.h:27:7: note:   candidate expects 1 argument, 0 provided

C:\Users\simon\Documents\Arduino\libraries\IS31FL3731/IS31FL3731.h:27:7: note: constexpr IS31FL3731::IS31FL3731(IS31FL3731&&)

C:\Users\simon\Documents\Arduino\libraries\IS31FL3731/IS31FL3731.h:27:7: note:   candidate expects 1 argument, 0 provided

C:\Users\simon\Documents\Arduino\libraries\Maker_LED_Matrix_32\Maker_LED_Matrix_32.cpp: In member function 'int Maker_LED_Matrix_32::initLEDMatrix()':

C:\Users\simon\Documents\Arduino\libraries\Maker_LED_Matrix_32\Maker_LED_Matrix_32.cpp:115:26: error: no matching function for call to 'IS31FL3731::begin(int)'

   if (!matrixL.begin(0x74)) return 0; //Initalize library for left LED matrix driver.

                          ^

C:\Users\simon\Documents\Arduino\libraries\Maker_LED_Matrix_32\Maker_LED_Matrix_32.cpp:115:26: note: candidate is:

In file included from C:\Users\simon\Documents\Arduino\libraries\Maker_LED_Matrix_32\Maker_LED_Matrix_32.cpp:5:0:

C:\Users\simon\Documents\Arduino\libraries\IS31FL3731/IS31FL3731.h:33:12: note: boolean IS31FL3731::begin()

    boolean begin();

            ^

C:\Users\simon\Documents\Arduino\libraries\IS31FL3731/IS31FL3731.h:33:12: note:   candidate expects 0 arguments, 1 provided

C:\Users\simon\Documents\Arduino\libraries\Maker_LED_Matrix_32\Maker_LED_Matrix_32.cpp:116:26: error: no matching function for call to 'IS31FL3731::begin(int)'

   if (!matrixR.begin(0x77)) return 0; //Initalize library for right LED matrix driver.

                          ^

C:\Users\simon\Documents\Arduino\libraries\Maker_LED_Matrix_32\Maker_LED_Matrix_32.cpp:116:26: note: candidate is:

In file included from C:\Users\simon\Documents\Arduino\libraries\Maker_LED_Matrix_32\Maker_LED_Matrix_32.cpp:5:0:

C:\Users\simon\Documents\Arduino\libraries\IS31FL3731/IS31FL3731.h:33:12: note: boolean IS31FL3731::begin()

    boolean begin();

            ^

C:\Users\simon\Documents\Arduino\libraries\IS31FL3731/IS31FL3731.h:33:12: note:   candidate expects 0 arguments, 1 provided

exit status 1
uvwxy commented 5 years ago

Which library did you install to provide the IS31FL3731.h?

FischOderAal commented 5 years ago

This one: https://github.com/e-radionicacom/IS31FL3731