int LedGreen = 11, Ledyelow = 12, lEDRed = 13;
void setup() {
pinMode(13, OUTPUT);
pinMode(12, OUTPUT);
pinMode(11, OUTPUT);
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, STM32!");
}
void loop() {
// put your main code here, to run repeatedly:
delay(150); // this speeds up the simulation
digitalWrite(lEDRed, HIGH);
delay(150);
digitalWrite(lEDRed, LOW);
delay(150);
digitalWrite(Ledyelow, HIGH);
delay(150);
digitalWrite(Ledyelow, LOW);
delay(150);
digitalWrite(LedGreen, HIGH);
delay(150);
digitalWrite(LedGreen, LOW);
}
Loading
st-nucleo-c031c6
st-nucleo-c031c6