This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int LED = 15; // LED di pin IO15 pada espectro32 | |
int button = 4; // Button di pin IO4 pada espectro32 | |
void setup() { | |
pinMode(LED, OUTPUT); //Led Sebagai Output | |
pinMode(button, INPUT); // Button Sebagai Input | |
} | |
void loop() { | |
int buttonState = digitalRead(button); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int LED=15; // LED di pin IO15 pada espectro32 | |
int button=4; // Button di pin IO4 pada espectro32 | |
void setup() { | |
pinMode(LED,OUTPUT); //Led Sebagai Output | |
pinMode(button,INPUT); // Button Sebagai Input | |
} |
NewerOlder