wakaka
Full Member level 4
- Joined
- Dec 7, 2005
- Messages
- 237
- Helped
- 10
- Reputation
- 20
- Reaction score
- 6
- Trophy points
- 1,298
- Activity points
- 2,931
pic ide oshon
Hihi, i meet some problem on this simulator. The simulator cant simulates this code for CCS compiler
delay_ms();
and this is my code :
#include <16F877A.h>
#fuses HS,NOWDT,NOPROTECT,BROWNOUT,NOLVP
#use delay (clock=20000000)
#BYTE PORTB = 6
#BYTE PORTC = 7
void main()
{
set_tris_c(0);
set_tris_b(0);
while(1){
portb = 0xff;
delay_ms(1000);
portb = 0x00;
delay_ms(1000);
}
}
need advices on that. Or any other suggestions on other simulator? better free one...thanks
Hihi, i meet some problem on this simulator. The simulator cant simulates this code for CCS compiler
delay_ms();
and this is my code :
#include <16F877A.h>
#fuses HS,NOWDT,NOPROTECT,BROWNOUT,NOLVP
#use delay (clock=20000000)
#BYTE PORTB = 6
#BYTE PORTC = 7
void main()
{
set_tris_c(0);
set_tris_b(0);
while(1){
portb = 0xff;
delay_ms(1000);
portb = 0x00;
delay_ms(1000);
}
}
need advices on that. Or any other suggestions on other simulator? better free one...thanks