top
About Buy News Guide Ideas
The phatIO project has finished, and I'm no longer selling ready made boards - but you're welcome to look around - send any questions to the email below

Back to Table of Contents

#Config

Allows phatIO functionality to be customized, only a few items are available currently. These are listed and described in “PHATIO/etc/config” They are not listed here to ensure consistency.

##(config <address> <value> [permanent=0] ) [config]

Set the config value with the given address to the value. If a third argument is specified and equals 1 the config value will be persisted otherwise the the value will revert to the default after the next power cycle.

For example:

(config 1 1)
(config 1 1 0)

Would both set the config item with address 1 to a value of 1, but not persist it. Meaning that after removing power it will revert to the default value of 0.

(config 1 1 1)

Would set the value to 1 persistently and the following would set the value to 0 and persist it.

(config 1 0 1)

To set all config values to the default save the following line to run.lio

(config 0 1 1)

Then delete it from the file and unplug and plugin phatIO. The config entry has to be removed from run.lio so it won’t run again when phatIO starts.

@Contact  |   Legal & Privacy  |    RSS  |   Development Twitter  |   Official Twitter
© phatIO 2012, All Rights Reserved.