Have to step out for a bit, what time zone are you in so I know if I'll have enough time to answer tonight? Me CST [GMT-5] I'll re-read your last post then.
I'm in CEST (GMT+2) so I'm calling it a night for tonight.
I will continue tomorrow, or more likely on Monday, since it seems I need to find a brick&mortar shop that sells transistors.
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.
digitalWrite() better choice over analogWrite()
Have to step out for a bit, what time zone are you in so I know if I'll have enough time to answer tonight? Me CST [GMT-5] I'll re-read your last post then.
In the mean time, Check out:
Heading 'Transistor Switch'
halfway down the page: