Rev 81 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 81 | Rev 83 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | 1 | ||
| 2 | 2 | ||
| - | 3 | // sudo ./pts -a 0x1000000 -v 1 -w 2 turn LED ON |
|
| - | 4 | // sudo ./pts -a 0x1000000 -v 1 -w 1 turn LED OFF |
|
| - | 5 | // sudo ./ptsvmusb -a 0x02501000 -v 2 -i a.bit -b 2 |
|
| - | 6 | #include <stdlib.h> |
|
| - | 7 | #include <stdio.h> |
|
| - | 8 | #include <stdint.h> |
|
| - | 9 | #include <ctype.h> |
|
| - | 10 | ||
| - | 11 | #include <string.h> |
|
| - | 12 | ||
| - | 13 | #include "vme.h" |
|
| 3 | 14 | ||
| 4 | #include <cvirte.h> |
15 | #include <cvirte.h> |
| 5 | 16 | ||
| 6 | #include "PtsModule.h" |
17 | #include "PtsModule.h" |
| 7 | #include <userint.h> |
18 | #include <userint.h> |
| 8 | #include "PtsModule_CVI.h" |
19 | #include "PtsModule_CVI.h" |
| 9 | #include <utility.h> |
20 | #include <utility.h> |
| 10 | #include <formatio.h> |
21 | #include <formatio.h> |
| 11 | static int p1; |
22 | static int p1; |
| 12 | 23 | ||
| 13 | // sudo ./pts -a 0x1000000 -v 1 -w 2 turn LED ON |
- | |
| 14 | // sudo ./pts -a 0x1000000 -v 1 -w 1 turn LED OFF |
- | |
| 15 | // sudo ./ptsvmusb -a 0x02501000 -v 2 -i a.bit -b 2 |
- | |
| 16 | #include <stdlib.h> |
- | |
| 17 | #include <stdio.h> |
- | |
| 18 | - | ||
| 19 | #include <ctype.h> |
- | |
| 20 | - | ||
| 21 | #include <string.h> |
- | |
| 22 | 24 | ||
| 23 | #include "vme.h" |
- | |
| 24 | 25 | ||
| 25 | 26 | ||
| 26 | 27 | ||
| 27 | 28 | ||
| 28 | 29 | ||