Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By tplindley
#76649 Using some of my development boards, i blink the onboard led in a slow blink, one second on, one second off. When I run this code on a esp8266-01 the little blue led seems to just flicker, won't stay on. I am using the LED_BUILTIN and setting HIGH for off, and LOW for on. What am I missing? Thanks.
User avatar
By QuickFix
#76660 I know exactly wat your problem is. :D

You are forgetting to include your code and a schematic (and/or pictures). :idea:
Sorry mate, but we can't help you without a proper description of the problem (and as much as possible other relevant information) .
User avatar
By tplindley
#76673 Thanks for the responses, my code is very simple. I have a timer running at a frequency higher than the blink I want, so I count timer ticks and only action when it exceeds my blink threshold.

Code: Select all        blinkCount++;
        if(blinkCount>blinkDelay)
        {
            if(isOn)
            {
               digitalWrite(LED_BUILTIN,HIGH);
            }
            else
            {
               digitalWrite(LED_BUILTIN,LOW);
            }
            isOn=!isOn;
            blinkCount=0;
        }

Here is an image of my production setup, I did just order a few of the new boards without a power led.
Image