Hello!
I finished a project using a 16F628, and now I need to conver the code to work on a 16F84 (the project does not use any of the exclusive capabilities of the 628).
I first got rid of
Needed for the 16F628.
All RAM registers were defined between $20 and $2E, so should be fine for both pics... but it does not work! I don't uderstand why. 16F628 works great. 16F84 does not.
Both are using 8Mhz external crystal
any idea?
thank you!
I finished a project using a 16F628, and now I need to conver the code to work on a 16F84 (the project does not use any of the exclusive capabilities of the 628).
I first got rid of
Code:
MOVLW 0X07 ;Turn comparators off and
MOVWF CMCON ;enable pins for I/O
Needed for the 16F628.
All RAM registers were defined between $20 and $2E, so should be fine for both pics... but it does not work! I don't uderstand why. 16F628 works great. 16F84 does not.
Both are using 8Mhz external crystal
any idea?
thank you!