-
Notifications
You must be signed in to change notification settings - Fork 8
programread
Anobium edited this page Jan 3, 2021
·
2 revisions
Syntax:
ProgramRead (location, store)
or for the 18FxxQ41 family of chips use:
PFMRead (location, store)
Command Availability:
Available on all Microchip PIC microcontrollers with self write capability. Not available on Atmel AVR at present.
Explanation:
ProgramRead
reads information from the program memory on chips that
support this feature. location
and store
are both word variables,
meaning that they can store values over 255.
The largest value possible for location
depends on the amount of
program memory on the Microchip PIC microcontroller, which is given on
the datasheet. store
is 14 bits wide, and thus can store values up to
16383
.
This is an advanced command which should only be used by advanced developers.
Example:
For more help, see ProgramErase and ProgramWrite