I am wondering why is is not possible to group i/o pins into a cluster or array?
It would be nice to declare at once the I/O pins and access them as index array
' create array of input pins
then refer to this variable to access the port
for i=1 to n
this way it would be easy to port code from one MCU to another by just changing the reference to the port in the declaration
in case they have a very different port assignment.
just a though or I am missing something?
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.