public Funktionsgenerator8562FPZ_Parallel(Wellenform wellenform) { wiringPiLib.WiringPiSetupGpio(); da = new DA_8562FPZ_Parallel(wiringPiLib); GenerateWaveTable(wellenform); GetEigenFrequenz(); }
private static void AD_8562_Parallel() { WirinPiWrapper wiringPiLib = new WirinPiWrapper(); wiringPiLib.WiringPiSetupGpio(); DA_8562FPZ_Parallel da = new DA_8562FPZ_Parallel(wiringPiLib); while (true) { da.SetVoltage(0); Thread.Sleep(50); da.SetVoltage(2047); Thread.Sleep(50); da.SetVoltage(4095); Thread.Sleep(50); } }