I want create a function and return two integers: i and c. How can i do this? Thanks in advance
a++ ;
if(i == 288){
a = 0 ;
i-- ;
b++ ;
c++ ;
}
if(c == 5000) {
i = 0 ;
c = 0 ;
}
if(a == 1 ){
P2OUT = 0xFF ;
a = 0 ;
}
if (b == 1){
P2OUT= 0x00 ;
b = 0 ;
}