DFrobot Relay shield problem

Hi,
I am using the dfrobot relay shield on my Arduino.
I know how to program the arduino itself to speak to the shield but i need to make it work on a mouseclick from processing.
Probably a really noob question but i dont seem to be able to figure it out.
This is basicly what i want.
When the mouse is clicked i want no1 and com1 to connect.
And at the same time to have no2 and com 2 open.
Thanks in advance.
I am using the dfrobot relay shield on my Arduino.
I know how to program the arduino itself to speak to the shield but i need to make it work on a mouseclick from processing.
Probably a really noob question but i dont seem to be able to figure it out.
This is basicly what i want.
When the mouse is clicked i want no1 and com1 to connect.
And at the same time to have no2 and com 2 open.
Thanks in advance.
2011-12-08 10:23:57 Hi Marcoco,
I'm glad you figured it out.
It would be really cool if you shared your project with the forum. Many people could learn from it.
Thanks!
Hector
I'm glad you figured it out.
It would be really cool if you shared your project with the forum. Many people could learn from it.
Thanks!
