/[H7]/branches/linux-serial/Serial.h
ViewVC logotype

Diff of /branches/linux-serial/Serial.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 46 by torben, Sun Feb 4 23:11:02 2007 UTC revision 47 by torben, Mon Feb 5 00:48:02 2007 UTC
# Line 7  Line 7 
7  #pragma once  #pragma once
8    
9  #include <vector>  #include <vector>
10    #include <string>
11    #include <stdexcept>
12  typedef std::vector<unsigned char> UCVector;  typedef std::vector<unsigned char> UCVector;
13    
14  #ifndef _WINDOWS //  #ifndef _WINDOWS //
# Line 37  public: Line 39  public:
39          void close();          void close();
40          void open(char* port, int bitrate);          void open(char* port, int bitrate);
41    
42          unsigned char readByte();          int readByte();
43          void writeByte(unsigned char out);          void writeByte(unsigned char out);
44    
45  #ifdef _WINDOWS  #ifdef _WINDOWS

Legend:
Removed from v.46  
changed lines
  Added in v.47

  ViewVC Help
Powered by ViewVC 1.1.20