write_analog in microPython on BBC micro:bit does not do anything
问题 I have a simple one line of micro:bit javascript that works, but the same line in microPython does not. I have a potentiometer wired to the micro:bit and the readings from the potentiometer are sent to a pin attached to an LED in order to control the brightness of the LED. The javascript code pins.analogWritePin(AnalogPin.P1, pins.analogReadPin(AnalogPin.P0)) which is the result of the block code works fine and the brightness of the LED changes as the potentiometer is changed. But using a