Skip to content

Instantly share code, notes, and snippets.

@tdack
Created August 16, 2015 13:19
Show Gist options
  • Save tdack/f54ba94b816afe285cc6 to your computer and use it in GitHub Desktop.
Save tdack/f54ba94b816afe285cc6 to your computer and use it in GitHub Desktop.
pendulum.cpp
ofstream fSlots;
fSlots.open(SLOTS);
fSlots << "ADAFRUIT-UART2" << std::endl;
fSlots << "PyBBIO-epwmss0" << std::endl;
fSlots << "PyBBIO-eqep0" << std::endl;
fSlots << "PyBBIO-epwmss1" << std::endl;
fSlots << "PyBBIO-eqep1" << std::endl;
fSlots.close();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment