- Name:
-
readrevision
- Syntax:
-
READREVISION variable
Variable - is a byte variable to receive the revision value.
- Description:
-
Read the program slot revision value into variable.
Using the #revision directive it is possible to embed a revision number of the user code into the downloaded program. The readrevision command retrieves this value and loads it into a variable. The revision value is also used by the booti2c command.
Do not confuse the revision (user program) with the firmware version (PICAXE bootstrap version) (read using the readfirmware command).