hello everyone,
I'm trying to make my first ever library but the problem I facing is how can I pass data i.e. PORTx, DDRx, PINx etc registers to my function in library.
While writing function I used to define them in beginning like:
#define ABC PORTA
But know i'm wondering how can I pass this ABC to a function in my library.
#help