• So it works, but every time you say analogWrite you have to reset it?

    You could try pinMode(A0, "output") first, which should at least tell Espruino that you're setting the pin mode manually and not to touch it. analogWrite may just ignore that though...

About

Avatar for Gordon @Gordon started