You define the oscillator
but PB defauts to 4 so you should be good there.Code:DEFINE OSC 4
The LM35 does not need amplification. If it is giving a fluctuation on the reading a capacitor between the signal and 0 volts (ground) will fix that.
Still looking through you code...
When it gets to the LED blinking, do they blink at the correct speed? Or are you seeing slow running some place else?
Bookmarks