Code: Select all
void main(){
CMCON |= 0x07; // turn off comparators
Soft_UART_Init(&PORTA, 3, 2, 9600, 0);
while(1){
Soft_UART_Write(i);
i++;
Delay_ms(1000);
}
}
please, help me
#1 Post by hocavr » 28 Nov 2010 20:05
Code: Select all
void main(){
CMCON |= 0x07; // turn off comparators
Soft_UART_Init(&PORTA, 3, 2, 9600, 0);
while(1){
Soft_UART_Write(i);
i++;
Delay_ms(1000);
}
}
#2 Post by Sobrietytest » 29 Nov 2010 09:37
#3 Post by ranko.rankovic » 29 Nov 2010 15:40
Code: Select all
short i = 0;
void main() {
CMCON |= 0x07; // turn off comparators
Soft_UART_Init(&PORTA, 3, 2, 9600, 0);
while(1) {
Soft_UART_Write(i);
i++;
Delay_ms(1000);
}
}
Return to “mikroC PRO for PIC General”