Sorry guys, the first ascii turn out really bad. Greetings, my led won't lit up too. i'm using pic16c84. the code run well in simulator, but not in circuit. is there any problem with my circuit ? ** please select variable width font. thank you. excuse my drawing :) my first ascii circuit (and pic project too ) configure to use RC osc, clear RB4 to sink current, thus turn LED on. can see the PortB clear bit 4, TRISB is correct (all in mpsim). yet , in real circuit it doesn't :( regards, ckchan -- "Think of all the time you spend clicking aimlessly or fruitlessly around the Web. At the Hunger Site, one click actually accomplishes something: It sends a serving of food to a starving person, at no cost to you..." http://www.thehungersite.com pic16c84 5V |---------------| | |1 18| RES(3.3k) |2 17| | |3 Osc1 16|---------------| |4 15| | GND-----|5 Vss Vdd 14|----5V CAP(22pF) |6 13| | |7 12| GND |8 11| |9 Rb4 10|--RES(470)-----| |---------------| | - LED + | | 5V