Hi,how are you .Ihave problem with at90s2313 not work out on circuit board and in the simulation work can
you guide me this is the code:
AT90S2313 code not working
you guide me this is the code:
Code (C):
- void main() {
- ddrd=0x00;
- portd=0x0e;
- Portb=0;
- ddrb=0xff;
- while (1)
- {
- if (pind.b0==1 && pind.b1==1&& pind.b2==0&&pind.b3==0&& pind.B4==0)
- Portb=0b00001011;
- else
- Portb=0;
- if(pind.b0==1 && pind.b1==0&& pind.b2==0&&pind.b3==0&&pind.b4==0)
- portb=0b00000011;
- else
- portb=0;
- if(pind.b0==1&&pind.b1==0 &&...