Arduino: 1.8.15 (Windows Store 1.8.49.0) (Windows 10), Board: "Arduino Uno"
C:\Users\jonah\OneDrive\Documents\Arduino\blinking_light\stoplight.ino: In function 'void setup()':
stoplight:6:6: error: redefinition of 'void setup()'
void setup() {
^~~~~
C:\Users\jonah\OneDrive\Documents\Arduino\blinking_light\blinking_light.ino:1:6: note: 'void setup()' previously defined here
void setup() {
^~~~~
C:\Users\jonah\OneDrive\Documents\Arduino\blinking_light\stoplight.ino: In function 'void loop()':
stoplight:12:6: error: redefinition of 'void loop()'
void loop(){
^~~~
C:\Users\jonah\OneDrive\Documents\Arduino\blinking_light\blinking_light.ino:6:6: note: 'void loop()' previously defined here
void loop() {
^~~~
exit status 1
redefinition of 'void setup()'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.