Skip to main content
Skip table of contents

SetDefaults (SetToFactoryDefaults)

Executing this function causes the current or last used values (or the factory defaults) to be stored in flash as the power-up defaults.

The device flash has a rated endurance of at least 20000 writes, which is plenty for reasonable operation, but if this function is called in a high-speed loop the flash could eventually be damaged.

Note: Do not call this function while streaming.

(The values in parenthesis will set the defaults to factory settings.)

Command:

 

Byte

 

0

Checksum8

1

0xF8

2

0x01

3

0x0E

4

Checksum16 (LSB)

5

Checksum16 (MSB)

6

0xBA (0x82)

7

0x26 (0xC7)

 

 

Response:

 

Byte

 

0

Checksum8

1

0xF8

2

0x01

3

0x0E

4

Checksum16 (LSB)

5

Checksum16 (MSB)

6

Errorcode

7

0x00

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.