Hi all,
I have been using 16f84a to do a cretain project, as 16f84a only got 1k memory, i had problem to continue writing the program due to my program size. I then decided to use 16f648a which can provide me 4k memory to write on. i have type in this line :
movlw d'07'
movwf cmcon ;CMCON=7 set comperators off
To set the comperators features of 16f648a off. Once it is done, i assume is basic I/O function is around the same as 16f84a. I am wrong, hen i try to program and run, my indicators(led&7-segments) give me a totally wrong value everytime i power my chip... why?
I have been using 16f84a to do a cretain project, as 16f84a only got 1k memory, i had problem to continue writing the program due to my program size. I then decided to use 16f648a which can provide me 4k memory to write on. i have type in this line :
movlw d'07'
movwf cmcon ;CMCON=7 set comperators off
To set the comperators features of 16f648a off. Once it is done, i assume is basic I/O function is around the same as 16f84a. I am wrong, hen i try to program and run, my indicators(led&7-segments) give me a totally wrong value everytime i power my chip... why?