Re: "Variable already an alias" - is there a way to avoid this?
So I believe, this "on the fly" port redefine is exactly this particular compiler issue, not general hardware or software limitation.
the ability to alter a defined constant at runtime would be make a total mockery of sound programming fundamentals .
changing a constants definition is not a thing .
runtime allocation of resources is not done that way in any programming language, pbp3 is not particularly adept at it but with a bit of imagination there are workarounds. the sort of output pin manipulation via port alias indexing can do what you desire (as henrik has stated ) .
while pbp3 has no str type vars it can deal with and create null terminated c-type strings easily, with a little practice and a little skills
strings can be manipulated in any way necessary with little fuss.
i would just say one more thing multiplexing ffs
Warning I'm not a teacher
Bookmarks