Skip to content

Instantly share code, notes, and snippets.

@k-iino
Last active May 20, 2020
Embed
What would you like to do?
#b
// Output Health Check for ProMicro (Arduino Leonardo)
//
// ピンヘッダをはんだ付けした後に各出力が動作するかを確かめるためのスケッチ
const int PINS[] = {0, 1, // TX, RX
2, 3, 4, 5, 6, 7, 8, 9, // Left side
10, 14, 15, 16, 18, 19, 20, 21, // Right side
};
void setup() {
for (int i = 0; i < sizeof(PINS); i++) {
pinMode(PINS[i], OUTPUT);
digitalWrite(PINS[i], HIGH);
}
}
void loop() {
// do nothing
}

aaaa

Create and share beautiful images of your source code. Start typing or drop a file into the text area to get started.

bbbb

test = "abc"
hoge = 1
if hoge == 1:
print("a")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment