Changeset 225
- Timestamp:
- 06/17/10 09:18:15 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/ListenToArduino/ListenToArduino.cc
r180 r225 20 20 21 21 float Val[NUM_VAL]={0}; 22 DimService TextService(SERVER_NAME"/Textout", Textbuffer);23 22 DimService Data(SERVER_NAME"/Data", "F", Val, sizeof(Val)); 23 DimService TextService(SERVER_NAME"/Textdata", Textbuffer); 24 24 25 25 // Open modem device for reading and writing and not as controlling tty … … 27 27 fd = open(MODEMDEVICE, O_RDWR | O_NOCTTY ); 28 28 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)); 30 30 } 31 31
Note:
See TracChangeset
for help on using the changeset viewer.