Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
the writing to flash memory code in the datasheet didn't work for me.
Flash program memory may only be written to if the
destination address is in a segment of memory that is
not write-protected, as defined in bits WRT<1:0> of the
Configuration Word Register 2.
The datasheet of PIC16f887 states as above.
But how to access Configuration Word Register 2??????