Detect which Arduino C# CmdMessenger

Hi,

I'm trying to create an Escape Room, where I have a C# backend, using CmdMessenger.
I would like to create a generic solution where I can have the (multiple) Arduino backend read the signals and send the signals where needed.
I've checked out CmdMessenger and it works for the most of my questions, but I would like to have some kind of library where I can say: if ArduinoX button Y is pressed, then give signal, if Server button Z is pressed then tell Arduino Z is HIGH, without defining the ports on the Arduino.

Furthermore, I would like to have some kind of system where I can recognize the Arduino connected, despite what ComPort.
I'm using both original Uno's and some knockoff Nano's.

Can anybody help me?

The first part is part of the code you write. The second part is part of your protocol where each node identifies itself and would recognize commands directed to it but not those directed to others. Take a look at RS485 and some of the protocols or even CAN.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.