I made this simple piece of code, to make my LED flash.. Which it does when the pin is set low.. But how does that makes sense?
#include "pins_arduino.h"
void setup() {
// put your setup code here, to run once:
pinMode(BUILTIN_LED,OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(BUILTIN_LED,LOW);
}
I am using the Wemos d1 - http://www.wemos.cc/