The idea of the project is to make a hardware/software ship control system, which consists of a number of buttons switches + some software triggers of various types.
The buttons basically provide information, for a mathematical/software of a ship. I have already tried this concept with a smaller ship (fighter) and it works fine.
Now I am trying to do something bigger, like a corvette. One of the big differences is that a corvette is controlled by a number of people, say 3, and each of them has his own statistics screen (navigation, power control, captain).
The problem is that some of the parameters, say, energy, influence several screens.
For example, if a prop officer decreases power output, then, the navigator won.t be able to increase the speed of the ship.
Now, if I try to do this inside one program, that.s ok. But then, the prop officer must have his own screen, and the navigator his. And they should be able to control their screens - separately.
To the questions:
- is there a way to establish communication between two processing sketches?
I am planning to create a panel with a number of switches to control a software plane coded in Processing. I have seen several tutorials on how to establish the communication between the board (arduino) and the software plane (in my case created in Processing).
Generally, people use firmata or program serial communication (parcels).
I am not really familiar with any. My question is this: should I start digging in the direction of Firmata or serial parceling type of communication? Which is better?
An update:
I have found that you can send messages from Processing to Arduino, but can you send info back to establish a two way communication?