'Pass port as a parameter in bascom-avr

Can this be done? pass a port as a parameter? I have 4 stepper motors that I want to command but I don't want to create separated cod for each stepper



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source