Skip to content

Instantly share code, notes, and snippets.

@daniel-bytes
Created January 5, 2014 16:27
Show Gist options
  • Save daniel-bytes/8270297 to your computer and use it in GitHub Desktop.
Save daniel-bytes/8270297 to your computer and use it in GitHub Desktop.
serialosc_example main function
int main(int argc, const char* argv[])
{
std::string input;
SerialOsc osc("test", 13000);
MonomeDemo device(&osc);
while (input != "q") {
std::cout << "type 'q' to quit." << std::endl;
std::getline(std::cin, input);
}
osc.stop();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment