some test foo

This commit is contained in:
Lucas Pleß 2012-06-08 03:13:57 +02:00
parent 899cad5719
commit 8819f79f3c
1 changed files with 2 additions and 7 deletions

View File

@ -1,5 +1,6 @@
package de.ctdo.crashtest;
import de.ctdo.crashtest.domotics.BuntiClient;
import de.ctdo.crashtest.domotics.IRelaisboard;
import de.ctdo.crashtest.domotics.Relaisboard;
import de.ctdo.crashtest.mpd.IMPDController;
@ -16,7 +17,7 @@ public class TestClass {
IRelaisboard relaisboard = new Relaisboard("/dev/ttyUSB0");
relaisboard.open();
/*
/*
relaisboard.setRelais(1,false);
//relaisboard.setRelais(1, true);
@ -31,12 +32,6 @@ public class TestClass {
Thread.sleep(4000); */
//relaisboard.blinkRelais(2, 500, 6);
relaisboard.toggleRelais(0, 300);
relaisboard.toggleRelais(1, 600);
relaisboard.toggleRelais(2, 1000);
relaisboard.toggleRelais(3, 10000);
Thread.sleep(11000);
relaisboard.close();