/* flash_fast Brandeis University UIO48 Test Program
*
*	gcc flash_fast.c uio48io.o -o flash
*
*
*
*/

#include <stdio.h>
#include <unistd.h>
#include "uio48.h"

main(int argc, char *argv[])
{
	int x;
	x = read_bit(1,1);	/* Just a test for availability */
	if(x < 0)
	{
	    printf("Can't access device UIO48A - Aborting\n");
	    exit(1);
	}

	while(1)
	{
	    set_bit(1,0);
	    clr_bit(1,0);
	}

}

