Replies: 1 comment 5 replies
-
They are new for ESP32, but exist in other ports since a while. The list Pin objects, either in the naming scheme of the CPU, or of the board with the names that are printed on the silkscreen. The ESP32 just has an empty Pin.board class and should not have a Pin.cpu class. For a Metro M7 board (CPU i.mx rt 1010) you get the following lists:
With these, you can either use the pin objects as they are: Pin.board.A0, or as Pin("A0"). Similar for the Pin.cpu class, which may contain Pins not broken out at the board. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I find a few new/undocumented properties in the machine.Pin class
Any suggestion what these may be ?
(Also deeper inspection of these classes resets the MCU , I think that may be a bug, but first let me understand what the meanting is )
Portinfo
Beta Was this translation helpful? Give feedback.
All reactions