News

moodlite - Coming soon


Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Goldenfaeron

Pages: 1
1
moodlite Software / invalid use of member function
« on: July 17, 2019, 11:37:30 AM »
When I want to upload the program the first time (step 7. at https://github.com/spigotx/Moodlite/wiki/First-setup-of-Moodlite ) there are some errors:

Code: [Select]
Arduino: 1.8.10 Hourly Build 2019/07/16 11:33 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

WARNUNG: Bibliothek Timezone behauptet auf (avr) Architektur(en) ausgeführt werden zu können und ist möglicherweise inkompatibel mit Ihrem derzeitigen Board, welches auf (esp8266) Architektur(en) ausgeführt wird.
In file included from C:\Users\-------\Documents\Zimmereinrichtung\Moodlite\Arduino\Moodlite\Moodlite.ino:31:0:

C:\Users\-------\Documents\Arduino\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.010

 #    pragma message "FastLED version 3.002.010"

                     ^

In file included from C:\Users\-------\Documents\Arduino\libraries\FastLED/FastLED.h:65:0,

                 from C:\Users\-------\Documents\Zimmereinrichtung\Moodlite\Arduino\Moodlite\Moodlite.ino:31:

C:\Users\-------\Documents\Arduino\libraries\FastLED/fastspi.h:115:23: note: #pragma message: No hardware SPI pins defined.  All SPI access will default to bitbanged output

 #      pragma message "No hardware SPI pins defined.  All SPI access will default to bitbanged output"

                       ^

C:\Users\-------\-------\-------\Moodlite\Arduino\Moodlite\Moodlite.ino: In member function 'String& ByteString::copy(const void*, unsigned int)':

Moodlite:419:9: error: invalid use of member function (did you forget the '()' ?)

     len = length;

         ^

Moodlite:420:30: error: cannot convert 'String::buffer' from type 'const char* (String::)()const' to type 'void*'

   memcpy(buffer, data, length);

                              ^

Moodlite:421:16: error: invalid types '<unresolved overloaded function type>[unsigned int]' for array subscript

   buffer[length] = 0;

                ^

exit status 1
invalid use of member function (did you forget the '()' ?)


------ = my full name  ;)

What is wrong with the code?

Thanks for answers.

Tobi

Pages: 1

SMF spam blocked by CleanTalk