Esp8266 2.4.1 update

If you want to write your code the 1st way, you need void Led(); at the top of the sketch.

.