Skip to content

Instantly share code, notes, and snippets.

Created April 2, 2017 20:35
What would you like to do?
for (int i = 0; i < solenoids.size(); i++) {
try {
solenoids.get(i).setValue((int) sequence.charAt(i) == 1);
} catch (IOException error) {
Timber.e(error, "There was an error configuring GPIO pins");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment