Skip to content

hollowness-inside/PhyphoxAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhyphoxAPI

The API provieds an easy way to access remote experiment sensors data

If you don't know what Phyphox is, find it out on its official website

Example

String host = "address";
int port = 8080;
PhyphoxClient client = PhyphoxClient.connect(host, port);

// Registering sensors from which we want to fetch data
PhyphoxLight light = (PhyphoxLight) client.registerSensor(PhyphoxSensors.LIGHT);

client.start();
while (client.update()) {
  System.out.println("Light: " + light.getLight());
}
client.stop();

See another one example from the example folder

About

Provides API for fetching data from remote experiments

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages