Name:
readfirmware
Syntax:

READFIRMWARE variable

Variable - is a byte variable to receive the revision value

Description:

Read the PICAXE bootstrap firmware revision value into variable.

The readfirmware command retrieves the PICAXE bootstrap firmware version and loads it into a variable. Do not confuse the revision (user program) with the firmware version (PICAXE bootstrap version).

Applies To:
20X2, 28X2, 40X2
See Also:
Related Create:
    Share:
    Print:

    Reading the firmware version

    This program will read the firmware version and place in variable 'b1'.

    Code Example:
    main:	readfirmware b1		; read firmware version into b1
    Copy Code Submit an Example

    Submit Your Own Code!

    You must be logged in to submit code examples. Login now.

    Comments

    • Login to leave a comment.