Johan
2010-03-06 17:17:34 UTC
Hi there,
I'm having some fun with an Arduino and want to connect it to Mister
House via a USB serial interface.
The idea is to set/clear several outputs of the Arduino from MH.
I have a question regarding the structure on how to do this right.
Is it possible to create several new "Serial_Items" in MH which all
use the same serial port, but with different commands/data?
Or do I need to create my own "Arduino_Items" that inherit from a
single "Serial_Item"?
I tried the first solution, but it doesn't seem to work right, but it
could also be due to bugs in the current code.
Best regards,
Johan.
I'm having some fun with an Arduino and want to connect it to Mister
House via a USB serial interface.
The idea is to set/clear several outputs of the Arduino from MH.
I have a question regarding the structure on how to do this right.
Is it possible to create several new "Serial_Items" in MH which all
use the same serial port, but with different commands/data?
Or do I need to create my own "Arduino_Items" that inherit from a
single "Serial_Item"?
I tried the first solution, but it doesn't seem to work right, but it
could also be due to bugs in the current code.
Best regards,
Johan.