James, Is TRISB0 a valid ID? If the port pin isn't being set as an output, that is the obvious problem. Otherwise, to me it looks as though it should work. Regards, Jim On Mon, 20 August 2001, James Fitzsimons wrote: > > Hi all, > well after getting my programmer to work I loaded the example hex file that > flashes an LED on port RB1 and wow! the LED flashes ! ;-) > > I have written a bunch of code in Hi TECH C integrated with Microchips > MPLAB. To start of with I wrote my own version of the flashing LED program > (attached) which flashes an LED on pin RB0. I compiled the code and loaded > the hex file. However this time no flashing LED :-( > > Can anyone help me with this? Is there a bug in the code? I have gone over > it and can't see any obvious mistakes. > > Is there anything special I have to do in MPLAB or HI TECH cmd line switches > to get code that will run? > > Thanks for you help > regards > James Fitzsimons jim@jpes.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics