Starting Programming PIC16f877 with C

Thread Starter

RRITESH KAKKAR

Joined Jun 29, 2010
2,829

Attachments

spinnaker

Joined Oct 29, 2009
7,830
OK, after changing code the LED is blinking...
thanks.
Gee imagine that. :rolleyes:

Your last step is to take this.

but the code is right....believe me.
Print it out and hang it right in front of your monitor.

Next time when you ask questions follow the advice those that are more knowledgeable. Otherwise it is not worth asking the question in the first place.
 

Thread Starter

RRITESH KAKKAR

Joined Jun 29, 2010
2,829
Gee imagine that. :rolleyes:

Your last step is to take this.



Print it out and hang it right in front of your monitor.

Next time when you ask questions follow the advice those that are more knowledgeable. Otherwise it is not worth asking the question in the first place.

I came to know it was for pin 33 only...
 

spinnaker

Joined Oct 29, 2009
7,830
I came to know it was for pin 33 only...
Yep like I said a logical not compared to a bitwise not.

The next thing in the future you will need to watch for is a logical equals == compared to an assignment =.

And where I think is really confusing bitwise || (or), && compared to logical | (or), & (and).
 

spinnaker

Joined Oct 29, 2009
7,830
You also should learn to use the debugger and some basic troubleshooting techniques. If you tried those, this post would have ended 30 some posts ago and you would have had the pride of fixing it yourself.
 
Top