i hope you don't expect much help posting pictures of code.
there is every chance in that blurry pic that the config word is not correct for the chosen chip
i hope you don't expect much help posting pictures of code.
there is every chance in that blurry pic that the config word is not correct for the chosen chip
Warning I'm not a teacher
I have not changed anything in that part of the program for the last 50 revisions over a few days. If I take that line out, it objects to the next line, etc.
you need to supply more information
pbp version ?
chip ?
actual code not a blurry picture
would a good start
Warning I'm not a teacher
Uninstalled the compiler, downloaded a fresh Student edition and the problem is solved. Thanks for considering it anyway. (I can't help that this forum makes a blurry pic - https://www.picbasic.co.uk/forum/att...3&d=1679985701 )
Last edited by Gerald; - 28th March 2023 at 09:58.
Are you sure you had the correct chip selected? I see a 16F1937 selected but that chip does not have ANSEL register.
It has ANSELA, ANSELB and ANSELE.
So the error message was correct!
Ioannis
Many times the chip type on MCS does change on its own! Be careful on that.
Ioannis
Bookmarks