Viewing 1 reply thread
  • Author
    Posts
    • #5219
      Todd BowersTodd Bowers
      Participant

      I set up multicolored LED’s under 0.4 firmware on one of my trains and was able to use the Function buttons in RocRail to turn on either red, blue or green and use the automatic lights while running. I updated to 0.5.1 and now I can only get F1 to light. When I checked to Serial Monitor, F1 shows pwm of 1023 (max), but F2 and F3 only will be 0 pwm when triggered. How can I fix this setting? Below is a copy of the Serial Monitor:

      Parsing XML successful
      <fn> node found. Processing fn message…
      function id: L7938
      addr: 7938
      Consuming message for train L7938 (7938)
      fnchanged: 1
      Function PIN Id: 0
      fnchangedstate (raw): true
      fnchangedstate: true
      Flipping function 1 to 1
      Setting PWM value of pin 16 to 1023
      Received MQTT message [rocrail/service/command]: <fn shift=”false” longclick=”false” group=”1″ fnchanged=”1″ fndesc=”F1″

      Parsing XML successful
      <fn> node found. Processing fn message…
      function id: L7938
      addr: 7938
      Consuming message for train L7938 (7938)
      fnchanged: 2
      Function PIN Id: 1
      fnchangedstate (raw): true
      fnchangedstate: true
      Flipping function 2 to 1
      Setting PWM value of pin 5 to 0
      Received MQTT message [rocrail/service/command]: <fn shift=”false” longclick=”false” group=”1″ fnchanged=”2″ fndesc=”F2″

      Todd

    • #5224
      Todd BowersTodd Bowers
      Participant

      I realized my error. I was using the wrong configuration file.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.