Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By hevihoha
#89555 Hello, I wanted to make a program with an ESP8266 (WIFI) module, but every time on all the tutorials that I find, it doesn't work, I have an error when I compile:

"exit status 1
Compilation error for the Generic ESP8266 Module board "

While my card is plugged in, the drivers are recognized

I leave you one of the codes that does not work:

// the setup function runs once when you press reset or power the board
void setup () {
// initialize digital pin 13 as an output.
pinMode (2, OUTPUT);
}

// the loop function runs over and over again forever
void loop () {
digitalWrite (2, HIGH); // turn the LED on (HIGH is the voltage level)
delay (1000); // wait for a second
digitalWrite (2, LOW); // turn the LED off by making the voltage LOW
delay (1000); // wait for a second
}