//Fab Academy 2023 - Fab Lab León //PIR sensor or Doppler radar //Fab-Xiao const int RadarPin = 26; // digital input pin RP2040 pin 26 or ESP32-C3 pin D0 int value = 6; // variable to store the value coming from the sensor void setup() { Serial.begin(115200); // initialize serial communications pinMode(RadarPin, INPUT); //digital input pin } void loop() { int value= digitalRead(RadarPin); // read the value from the sensor (0 or 1) Serial.println(value); // print value to Serial Monitor }