Hi i have a problem with simple program on Micro:bit
via Makecode blocks or Micropython editor
i'm trying to set up two different PWM frequencies on P1 and P2 pins by setting different analog period in microseconds
however, every time the frequency ends up being the same on both pins and changing the analog period on one pin also changes the period on the other. No way to have different frequencies
and when i output any value via servo APIs (in makecode blocks), even on unrelated pin (p0, for example), the frequency on all pins changes to about 50 Hz.
Is this an error or by design? I have reported this problem on MS pxt github, but the same behavior i can see when running micropython script so i decided to ask here.
Microbit v2.21
Hi i have a problem with simple program on Micro:bit via Makecode blocks or Micropython editor
i'm trying to set up two different PWM frequencies on P1 and P2 pins by setting different analog period in microseconds however, every time the frequency ends up being the same on both pins and changing the analog period on one pin also changes the period on the other. No way to have different frequencies and when i output any value via servo APIs (in makecode blocks), even on unrelated pin (p0, for example), the frequency on all pins changes to about 50 Hz.
Is this an error or by design? I have reported this problem on MS pxt github, but the same behavior i can see when running micropython script so i decided to ask here. Microbit v2.21
https://github.com/microsoft/pxt-microbit/issues/4950
Best regards RG