BayEOSArduino Library
PWD11.h
1 
12 #ifndef PWD11_H
13 #define PWD11_H
14 #include <SoftwareSerial.h>
15 
16 class PWD11 : public SoftwareSerial{
17 
18 private:
19  float getFloat(char* buffer,int startIndex, int length);
20 public:
21 
22  // Creates a new class. Argument RX and TX pin number.
23  PWD11(uint8_t,uint8_t);
24 
25  /*
26  Opens a serial connection
27  with 9600 Baud, 7 data bits, 1 stop bit and even parity
28  */
29  void begin();
30 
31  /*
32  Reads Message 2 with 10 Values
33  Waits until a valid message was sent
34  */
35  float* readMessage2();
36 };
37 
38 
39 
40 #endif
Definition: PWD11.h:16