Logic Analyzer RPi
Logic Analyzer for the Raspberry Pi
 All Classes Files Functions Variables Pages
raw.h
1 //#include <stdio.h>
2 //#include <string.h>
3 //#include <stdlib.h>
4 //#include <mgl/mgl_fltk.h>
5 #include <mgl/mgl_zb.h>
6 //#include <unistd.h>
7 
8 
9 #ifndef LOGIC_INPUT
10 #define LOGIC_INPUT
11 #include "logic_input.h"
12 #endif
13 
14 #ifndef TRANSITION
15 #define TRANSITION
16 #include "transition.h"
17 #endif
18 
19 #ifndef BINARY
20 #define BINARY
21 #include "binary.h"
22 #endif
23 
24 #ifndef ACTIVITY
25 #define ACTIVITY
26 #include "activity.h"
27 #endif
28 
29 #ifndef PROTOCOL
30 #define PROTOCOL
31 #include "protocol.h"
32 #endif
33 
34 #ifndef DEBUG_H
35 #define DEBUG_H
36 #include "debug.h"
37 #endif
38 
40 class raw: public protocol
41 {
42 public:
44 
45  raw(uint8_t pins[]=NULL,uint8_t npin=4);
46 
48  ~raw();
49 
51  void decode ();
53 
54  int Draw(mglGraph *gr);
55 };