#include <stdio.h>
#include <Button.h>
#include <TimeLib.h>
const int Sensor1 = D2;
const int Sensor2 = D3;
const int Sensor3 = D4;
const int Dioda = D13;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, STM32!");
pinMode(Sensor1, INPUT);
pinMode(Sensor2, INPUT);
pinMode(Sensor3, INPUT);
pinMode(Dioda, OUTPUT);
}
void loop()
{
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
parseInt(Sensor1);
}
Loading
st-nucleo-l031k6
st-nucleo-l031k6