Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 81 → Rev 83

/pts/PtsModule_CVI.c
1,6 → 1,17
 
 
// sudo ./pts -a 0x1000000 -v 1 -w 2 turn LED ON
// sudo ./pts -a 0x1000000 -v 1 -w 1 turn LED OFF
// sudo ./ptsvmusb -a 0x02501000 -v 2 -i a.bit -b 2
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <ctype.h>
 
#include <string.h>
 
#include "vme.h"
 
#include <cvirte.h>
 
#include "PtsModule.h"
10,23 → 21,13
#include <formatio.h>
static int p1;
 
// sudo ./pts -a 0x1000000 -v 1 -w 2 turn LED ON
// sudo ./pts -a 0x1000000 -v 1 -w 1 turn LED OFF
// sudo ./ptsvmusb -a 0x02501000 -v 2 -i a.bit -b 2
#include <stdlib.h>
#include <stdio.h>
 
#include <ctype.h>
 
#include <string.h>
 
#include "vme.h"
 
 
 
 
 
 
int verbose;
uint32_t ptaddr=0;
char str[255];