An Arduino project implementing a security alarm system featuring PIN code access via a 4x4 keypad, status updates on a 16x2 LCD, motion detection using an HC-SR04 ultrasonic sensor, and ...
On the Uno R4 Minima and Uno R4 WiFi, pin 13 is made an output after reset, so if you do: void setup() { Serial.begin(9600); delay(5000); } void loop () { Serial.println(digitalRead(13)); delay(1000); ...