R rajbex Member May 11, 2012 #21 What happens when you change the LED definitions as sbit led0 at RD0_bit; and so on?
be80be Well-Known Member May 11, 2012 #22 You want to Code: #define led0 PORTD.F0 and the for loop is missing a ; at the end Code: for(count=0;count<10;count++); sbit does just that sets a bit Last edited: May 11, 2012
You want to Code: #define led0 PORTD.F0 and the for loop is missing a ; at the end Code: for(count=0;count<10;count++); sbit does just that sets a bit