Skip to content

Instantly share code, notes, and snippets.

@madhephaestus
Last active August 29, 2015 14:11
Show Gist options
  • Save madhephaestus/2540082a64e51b40a18b to your computer and use it in GitHub Desktop.
Save madhephaestus/2540082a64e51b40a18b to your computer and use it in GitHub Desktop.
ConnectionDialog
import com.neuronrobotics.sdk.dyio.DyIO;
import com.neuronrobotics.sdk.ui.ConnectionDialog;
System.out.println("Starting");
DyIO dyio=new DyIO();
if (!ConnectionDialog.getBowlerDevice(dyio)){
System.err.println("Dialog failed");
return;
}
dyio.ping();
dyio.disconnect();
System.out.println("Connection OK!");
return dyio;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment