Błąd kompilacji dla płytki Generic ESP8266 Module.

c:/users/balon/documents/arduinodata/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: core\core.a(core_esp8266_main.cpp.o): in function do_global_ctors': C:\Users\balon\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.2\cores\esp8266/core_esp8266_main.cpp:149: undefined reference to setup'
c:/users/balon/documents/arduinodata/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: core\core.a(core_esp8266_main.cpp.o): in function loop_wrapper()': C:\Users\balon\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.2\cores\esp8266/core_esp8266_main.cpp:117: undefined reference to setup'
collect2.exe: error: ld returned 1 exit status
exit status 1
Błąd kompilacji dla płytki Generic ESP8266 Module.

Please post your full sketch following the advice in How to get the best out of this forum

#define BLYNK_PRINT Serial

#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "******";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "";
char pass[] = "
*";

int prawy = V0;
int lewy = V1;

BLYNK_WRITE(V0)
{
int pinValue = param.asInt(); // assigning incoming value from pin V1 to a variable
// You can also use:
// String i = param.asStr();
// double d = param.asDouble();
digitalWrite(16, pinValue);
Serial.print("V0 Slider value is: ");
Serial.println(pinValue);
}

BLYNK_WRITE(V1)
{
int pinValue = param.asInt(); // assigning incoming value from pin V1 to a variable
// You can also use:
// String i = param.asStr();
// double d = param.asDouble();
digitalWrite(5, pinValue);
Serial.print("V1 Slider value is: ");
Serial.println(pinValue);
}

void stetup() // Debug console
{
Serial.begin(9600);

Blynk.begin(auth, ssid, pass);

}
void loop()
{
Blynk.run();
}

c:/users/balon/documents/arduinodata/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: core\core.a(core_esp8266_main.cpp.o): in function do_global_ctors': C:\Users\balon\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.2\cores\esp8266/core_esp8266_main.cpp:149: undefined reference to setup'
c:/users/balon/documents/arduinodata/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: core\core.a(core_esp8266_main.cpp.o): in function loop_wrapper()': C:\Users\balon\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.2\cores\esp8266/core_esp8266_main.cpp:117: undefined reference to setup'
collect2.exe: error: ld returned 1 exit status
exit status 1
Błąd kompilacji dla płytki Generic ESP8266 Module.

"void setup()"

@nargilami I have merged your two topics and I note that you did not follow the advice given in How to get the best out of this forum as requested

Please use code tags when posting code in future

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.