Jul 3, 2011 #1 D devil6600 Full Member level 5 Joined Nov 15, 2008 Messages 250 Helped 7 Reputation 14 Reaction score 7 Trophy points 1,298 Activity points 2,931 hi can any one tell me how to blink led using c30 compiler on dspic30f3011, i have already tried it but unable to blink it. here is my code, this is not working i have connected led on 10 pin (RB8) Code: #include "p30f3011.h" _FWDT(WDT_OFF); _FBORPOR(MCLR_EN & PWRT_OFF); int main(void) { TRISB = 0; ADPCFG = 0xffff; PORTB = 0xffff; while(1) { } return 0; } thanks ---------- Post added at 15:38 ---------- Previous post was at 14:22 ---------- i want to use its internal oscillator...
hi can any one tell me how to blink led using c30 compiler on dspic30f3011, i have already tried it but unable to blink it. here is my code, this is not working i have connected led on 10 pin (RB8) Code: #include "p30f3011.h" _FWDT(WDT_OFF); _FBORPOR(MCLR_EN & PWRT_OFF); int main(void) { TRISB = 0; ADPCFG = 0xffff; PORTB = 0xffff; while(1) { } return 0; } thanks ---------- Post added at 15:38 ---------- Previous post was at 14:22 ---------- i want to use its internal oscillator...