Ronald, With that link then, are we talking Arduino 'C' or Espruino Javascript?
'even more surprising, after that it does not light up anymore with'
There is a current limiter of at least 220 ohm?
Test the LED out of circuit with the limiter in series.
As this is a non-authentic Espruino board, have you verified the pin you are on supports PWM or DAC ?
@Robin started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ronald,
With that link then, are we talking Arduino 'C' or Espruino Javascript?
There is a current limiter of at least 220 ohm?
Test the LED out of circuit with the limiter in series.
As this is a non-authentic Espruino board, have you verified the pin you are on supports PWM or DAC ?