// experi8c.c #include "slosin.h" extern unsigned get_port(void); main(void) { int x; unsigned port,da1; if(!(port = get_port())) { printf("No board found\n"); exit(0); } da1 = port + 8; // da2 = port + 0x10; printf("This puts a slow sinwave on DAC1.\n"); printf("Both DACs have their grounds on pin 1 of header 1.\n"); printf("DAC1's output is on pin 15 and DAC2's on pin 14.\n"); printf("Press any key to begin, then press any key to end the test.\n\n"); getch(); disable(); while(!kbhit()) { for(x=0; x