That seems correct.
Conclusion: The list is flawed and so is the data Microchip is using in their selector tool - which is what generated the list.
I'd add a note to the post with the list but...
Commented out the lines...
ARRAYWRITE LCD_Buff,[" LCD PCF8574"] : LCD_WriteBuff
ARRAYWRITE LCD_Buff,[$FE,$C0,"Count = ",DEC LoopCount," "] : LCD_WriteBuff
Changed the $9D to a $C0...
Thanks to everyone that helped out.
I have gotten a modified version of Darrel's code to run on a 12F683 which has 2K of memory. :D
I am using an LCD 1602 and I don't see any Jumping Jacks.
I cut my teeth on the 16F877 and it is my understanding it does not have an internal oscillator. And it doesn't seem to be in your list Henrik.
Just curious if you got this to work.
I would think that you would have to define a DT interrupt source for the EXT int and set the handler label.
I think the issue is the Comparator module is still turned on.
Your CMCON = 0 sets the comparator to Reset with RA0 and RA1 connected to the Comparator module.
Have a look at the DS Figure 6-2...
The new FineLineIDE v3.0 is now available!
A rewrite for reliability, Bookmarks and Unused.
Less code collapse as it doubled the size and complexity of the program.
I've tried several things with the registers, but no luck. I've also added a sub to make it behave the way it should:
__CONFIG _CP_OFF & _PWRTE_ON & _INTRC_OSC_NOCLKOUT&...
I don't see where you are configuring the analog select register ANSEL.
By not explicitly setting the value of this register the PIC is using the default value, which might be enabling some pins as...
I see your point. But the flaw in the code is not the underlying problem. It should flicker while the button is held down. And then land on ON or OFF 50:50, right? I changed the pause to 1000 and...