Since you said you have the Arduino configured as a C/MRI device can you change the output from a bit to a byte and feed JMRI an encoded number over the byte?? I'm curious because I will be using C/MRI nodes and I haven't looked into setting them up with JMRI yet myself.
On 8 August 2018 at 10:10, JerryG via Groups.Io <jerryg2003@...> wrote:
What I would like to do is send a number representing train speed from my homebrew Arduino/IR sensor speedometer back to PanelPro to display on my panel by the block where speed is measured. I can put several of these on the layout and see the speed of all my detected trains as they move around the layout.?
The Arduino is configured to appear as a C/MRI SMINI node to JMRI to send a sensor a ¡±block occupied¡± bit right now.? I¡¯m not adverse to changing the interface method to JMRI if I have to, although the current approach is really simple and doesn¡¯t require any hardware other than the Arduino.
Any thoughts on how I might:
Send speed as a number back to PanelPro over C/MRI or some other way.
Display that number on my panel.
My general question is whether there is a way for sensors to send more than 0 or 1 to JMRI to display on panels, for example engine numbers from RFID detectors.