User Tools

Site Tools


dccpp:dccpp-en

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
dccpp:dccpp-en [2020/04/06 16:29]
wolfgangk [Options]
dccpp:dccpp-en [2020/04/07 16:25] (current)
smitt48 [Options]
Line 143: Line 143:
 | Pull-up |  0 | 1 = use internal pull-up resistor for the pin \\ 0 = don't use internal pull-up resistor for the pin | | Pull-up |  0 | 1 = use internal pull-up resistor for the pin \\ 0 = don't use internal pull-up resistor for the pin |
  
-Usually no manual settings are required here. Rocrail automatically defines Arduino pins as input or output pins as soon as the pins of such a DCC++ CS are used for triggering sensors ​and switching ​turnouts or signals. For input pins, the option "​Invert / Pull-up"​ is activated by default, i.e. the internal pull-up resistor is used. +Usually no manual settings are required here. Rocrail automatically defines Arduino pins as input or output pins as soon as the pins of such a DCC++ CS are used for triggering sensorsturnouts or signals. For input pins, the option "​Invert / Pull-up"​ is activated by default, i.e. the internal pull-up resistor is used. 
  
-Only in the case that other options than the default ones are to be used at startup, manual intervention is required here. It is generally recommended that you first create all objects in the plan with the desired pins. Then Rocrail should be restarted and all commands of objects that use output pins should be executed once; because at startup all used input pins and, when executing a command, all output pins are created from Rocrail in the DCC++ CS temporarily. After that, all used pins are listed at "​Query"​ and the options can be changed directly. __At the end don't forget to save!__+Manual intervention is required, only in the case that other options than the default ones are to be used at startup. It is generally recommended that you first create all objects in the plan with the desired pins. Then Rocrail should be restarted and all commands of objects that use output pins should be executed once; because at startup all used input pins and, when executing a command, all output pins are created from Rocrail in the DCC++ CS temporarily. After that, all used pins are listed at "​Query"​ and the options can be changed directly. __At the end don't forget to save!__
  
 When changing the option "​Invert / Pull-up",​ the following must also be observed: For outputs, the "​Invert"​ setting here is only valid when starting Rocrail. To ensure that the outputs for turnouts or signals are always used inverted, the value in the field "​Parameter"​ on the "​Interface"​ tab of these objects must be set to "​1"​. ​ \\ When changing the option "​Invert / Pull-up",​ the following must also be observed: For outputs, the "​Invert"​ setting here is only valid when starting Rocrail. To ensure that the outputs for turnouts or signals are always used inverted, the value in the field "​Parameter"​ on the "​Interface"​ tab of these objects must be set to "​1"​. ​ \\
dccpp/dccpp-en.txt ยท Last modified: 2020/04/07 16:25 by smitt48