Pyfirmata not working on certain pins on Arduino Leonardo

I am trying to use Pyfirmata on VSCode on an Arduino Leonardo but only some of the pins seem to work namely digital pins 13,11,7,5,3, and 2 when I try to set them high. I uploaded the code to the Pyfirmata and seems to upload fine and I have no problems with those pins but the rest of the digital pins do not seem to work and I am not sure why. Any ideas how to resolve this issue?

It looks like there is no setup for arduino_leonardo:

Which Firmata sketch are you running on your Arduino Leonardo?

Just firmata standard

If there is no setup for Arduino Leonardo why does it seem to work a little?

Wanted to type here that I switched to Uno and it worked perfectly for all the digital pins unlike Leonardo so.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.