Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PIC18f4550 board not working

Status
Not open for further replies.

joy_shukla

Junior Member level 2
Joined
Oct 10, 2009
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Ahmedabad
Activity points
1,445
hi all, i am newbie to the world of pic .. have worked on avrs using bascom ..
please i try to blink leds on my board .. i am using extreme burner from pic .. when i try to burn program it shows burn successfully .. i compile my program using mikrobasic pro .. i have tested the hex file using proteus and it works on proteus .. i dont know why it is not working .. pls help ..

i have connected 10k pull up on RA4 .. i have developed codes of lcd,uart and tested on proteus .. now i want to test on real hardware but it is noe working ..
 

Attachments

  • Schematic Prints.pdf
    19.4 KB · Views: 50

my code in mikrobasic pro:

program First


main:
TRISA=0x00
TRISB=0x00
TRISC=0x00
TRISD=0x00
TRISE=0x00


CMCON = CMCON or 0x07 ' turn off comparators
ADCON1 = ADCON1 or 0x0F ' turn off analog inputs

while true
LATA=0xFF
LATB=0xFF
LATC=0xFF
LATD=0xFF
LATE=0xFF
delay_ms(1000)
LATA=0x00
LATB=0x00
LATC=0x00
LATD=0x00
LATE=0x00
delay_ms(1000)
wend
end.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top