#include <Arduino.h>
const short int _led = 1; //GPIO1
const short int _led2 = 16;
void setup() {
// put your setup code here, to run once:
pinMode(_led,OUTPUT);
pinMode(_led2,OUTPUT);
// Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
while(true)
{
digitalWrite(_led,LOW);
delay(1000);
digitalWrite(_led,HIGH);
delay(1000);
}
}
Pablo2048 wrote:Yes, it's as I said - GPIO1 is TXD and BOTH LED GPIO on ESP-01 - see http://blog.circuits4you.com/2016/03/un ... -pins.html ...
Bottom line then, I can't use the serial port for diagnostic output if I want to also use the on-board blue led. Correct?
Thanks very much for your help.