main.cpp
//前略
int main(){
int b1;
button.mode(PullUp);
while(1){
b1=button;
if(!b1){
printf("Hello,World.\n\r");
while(b1 == 0){
b1=button;
}
}
}
}
More than 5 years have passed since last update.
//前略
int main(){
int b1;
button.mode(PullUp);
while(1){
b1=button;
if(!b1){
printf("Hello,World.\n\r");
while(b1 == 0){
b1=button;
}
}
}
}
Register as a new user and use Qiita more conveniently