Changes

FG Int Objects Modules

504 bytes added, 21:05, 19 June 2017
no edit summary
* '''RotarySwitch''' : Use to manage a rotary switch (variable nb position)
* '''ToogleSwitch''' : Single Push button that will switch between 2 states at each push
 
As the radio panel had lots of push button, we need to load the ToogleSwitch Class.<br />
We add it to the configuration file.
<syntaxhighlight lang="ini">
[INT]
intname=RADIOPANEL
deviceconf=/opt/fgint/Config/devices.cfg
 
[MODULES]
module01=FGIntHT16K33,HT16K33
module02=FGIntMCP23017,MCP23017
module03=FGIntSegDisplay,SegDisplay
module04=FGIntSwitch,Switch
module04=FGIntSwitch,ToogleSwitch
 
[AUXCONF]
displays=/opt/fgint/Config/displays.cfg
switches=/opt/fgint/Config/switches.cfg
</syntaxhighlight>
494
edits