Blame view

projetSC/serial.h 201 Bytes
1f48dd44   mdelapor   mise en ligne du ...
1
2
3
4
5
6
7
8
9
10
11
  
  #define SERIAL_READ 0
  #define SERIAL_WRITE 1
  #define SERIAL_BOTH 2
  
  ////
  // Public prototypes
  ////
  int serialOpen(char *device,int mode);
  void serialConfig(int fd,int speed);
  void serialClose(int fd);