Basic programming
The decoder address and switch activation time can easily be programmed by pushing the button on the PCB. After the button is pushed, the decoder waits till it hears a valid switch command. The decoder will store the switch address included in this command in EEPROM, restart, and use this address as its new decoder address. Note that decoder base addresses for switches always start with 0, 4, 8, 12, 16, ...(in case SkipEven is set: 0, 8, 16, 24, 32, ...).
If, after the button is pushed, the address included in the next switch command is equal to one of the base addresses mentioned above, the activation time for the switches will be 200 ms. If the address included in the switch command is one higher than a base address, the activation time will be 500 ms; if it is 2 higher the activation time will be 1 second and in case of 3 higher it will be 2 seconds.
Configuration Variables
The decoder can also be programmed using Configuration Variables (CVs). The table below shows the various CVs that are implemented. Most CVs are identical to those of the OpenDecoder switch decoder, except for the following:
Remote programming
For the near future the idea is to develop a computer (MAC-OSX) program to ease programming of the various decoders. That program will use the Lenz LI-USB-Ethernet (Lenz part number 23151) interface. Once that program is available, information will be posted here.