Sat 2018.11.24
Hello Ronald,
http://www.espruino.com/Reference#l__global_analogWrite
What is it you are attempting to do? Please post link to tutorial/example etc so we may follow along.
L3 >analogWrite(D26, 1) // LED dims
Are you asking why an LED dims when controlling with an analog/PWM voltage?
What does the circuit look like? Link or schematic image please
Did you set pinMode() ?
pinMode()
@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.
Sat 2018.11.24
Hello Ronald,
What is it you are attempting to do? Please post link to tutorial/example etc so we may follow along.
L3 >analogWrite(D26, 1) // LED dims
Are you asking why an LED dims when controlling with an analog/PWM voltage?
What does the circuit look like? Link or schematic image please
Did you set
pinMode()
?