Herbert Graf wrote: >>Try this info: >> >>http://home.comcast.net/~ncherry/common/dataq-di194.html >> >>and this source code & make file: >> >>http://www.tcrobots.org/software/dataq/dataq.c >>http://www.tcrobots.org/software/dataq/makefile > > > Thanks alot Neil, that's EXACTLY what I was looking for! It didn't work at > first, there was no note that I had to change the program to use the key for > my particular device. Got it working now. This list rocks... TTYL // A Cmd is sent as NULL, CMD (read reply), data (read reply) char dataq_init_cmd[42] = { 0,66, 1, // B ^A (Not sure what this is for but here it is) 0,83,48, // S 0 Stop 0,78,90, // N Z Rtn Serial # (we should get 10 digits back but we do not ???) #if 1 // My key is different 5F80CC96 0,69,0x35, // E 5 Key 0,69,0x46, // E F " 0,69,0x38, // E 8 " 0,69,0x30, // E 0 " 0,69,0x43, // E C " 0,69,0x43, // E C " 0,69,0x39, // E 9 " 0,69,0x36, // E 6 " #else 0,69,65, // E A Key 0,69,56, // E 8 " 0,69,52, // E 4 " 0,69,52, // E 4 " 0,69,56, // E 8 " 0,69,69, // E E " 0,69,53, // E 5 " 0,69,65, // E A " #endif 0,67,63, // C ? Channels all four channels (48 = '0', 63 = '?' all (1111)) 0,68,48, // D 0 Digi (???) output sq wave 0,83,49}; // S 1 Start Oh, yeah, I forgot about that! Above are the comments from when I tore into the code. BTW, it didn't work on my DigiBoard, seemed to not have enough power. Works fine on a regular RS232 port. -- Linux Home Automation Neil Cherry ncherry@comcast.net http://home.comcast.net/~ncherry/ (Text only) http://linuxha.sourceforge.net/ (SourceForge) http://hcs.sourceforge.net/ (HCS II) -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.