Describe the bug
The analog read pin does not work in the current beta beta (0.13.22 5.19.9) simulator. It gives an error Program Error: Cannot read property 'analogReadPin' of null when the simulator executes the program. This is from the feather extensions intended for use on the PyGamer and occurs when D2 and/or D3 are used. Those pins are valid despite sounding like digital pins.
Describe the bug The
analog read pin
does not work in the currentbeta beta
(0.13.22 5.19.9
) simulator. It gives an errorProgram Error: Cannot read property 'analogReadPin' of null
when the simulator executes the program. This is from thefeather
extensions intended for use on the PyGamer and occurs whenD2
and/orD3
are used. Those pins are valid despite sounding like digital pins.To Reproduce Steps to reproduce the behavior:
feather
extensionsanalog read pin
Expected behavior Normally a fake value within the normal range appears in the simulator for hardware.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context The code does work on PyGamer.
Also discussed in: https://forum.makecode.com/t/analog-inputs-error-in-simulator/446
Code embedded in png: