AtomSoft
Well-Known Member
Hey guys this might be a silly question but i want to make a function like:
the only question i have is how do i send port? Like will i need to use a pointer?
so it would be something like:
and i call it like blinkme(portb);
????????
i might not even use this but just wanted to know i am curious
Code:
blinkme (port){
port = 0x00;
delay;
port = oxff;
delay
}
the only question i have is how do i send port? Like will i need to use a pointer?
so it would be something like:
Code:
blinkme (unsigned char *port){
port = 0x00;
delay;
port = oxff;
delay
}
and i call it like blinkme(portb);
????????
i might not even use this but just wanted to know i am curious
Last edited: