Changeset 225 for tools


Ignore:
Timestamp:
06/17/10 09:18:15 (15 years ago)
Author:
daqct3
Message:
DIM service for text output added
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/ListenToArduino/ListenToArduino.cc

    r180 r225  
    2020
    2121  float Val[NUM_VAL]={0};
    22   DimService TextService(SERVER_NAME"/Textout", Textbuffer);
    2322  DimService Data(SERVER_NAME"/Data", "F", Val, sizeof(Val));
     23  DimService TextService(SERVER_NAME"/Textdata", Textbuffer);
    2424
    2525  //  Open modem device for reading and writing and not as controlling tty
     
    2727  fd = open(MODEMDEVICE, O_RDWR | O_NOCTTY );
    2828  if (fd <0) {
    29         Srv.State(Srv.FATAL, "Could not open modem device (%s)", strerror(errno));
     29        Srv.Message(Srv.FATAL, "Could not open modem device (%s)", strerror(errno));
    3030  }
    3131
Note: See TracChangeset for help on using the changeset viewer.