Error in my code

I keep getting this error:

Arduino: 1.8.9 (Linux), Board: "Arduino/Genuino Uno"

In file included from sketch/c_digo_para_trabalho_de_transito.ino.cpp:1:0:
/home/zerowhy/Desktop/c_digo_para_trabalho_de_transito/c_digo_para_trabalho_de_transito.ino: In function 'void loop()':
/home/zerowhy/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/Arduino.h:41:14: error: expected unqualified-id before numeric constant
 #define LOW  0x0
              ^
/home/zerowhy/Desktop/c_digo_para_trabalho_de_transito/c_digo_para_trabalho_de_transito.ino:81:26: note: in expansion of macro 'LOW'
     digitalWrite(fprver. LOW);
                          ^
/home/zerowhy/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/Arduino.h:41:14: error: expected unqualified-id before numeric constant
 #define LOW  0x0
              ^
/home/zerowhy/Desktop/c_digo_para_trabalho_de_transito/c_digo_para_trabalho_de_transito.ino:82:26: note: in expansion of macro 'LOW'
     digitalWrite(fpkver. LOW);
                          ^
/home/zerowhy/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/Arduino.h:40:14: error: expected unqualified-id before numeric constant
 #define HIGH 0x1
              ^
/home/zerowhy/Desktop/c_digo_para_trabalho_de_transito/c_digo_para_trabalho_de_transito.ino:83:27: note: in expansion of macro 'HIGH'
     digitalWrite(fprverm. HIGH);
                           ^
/home/zerowhy/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/Arduino.h:41:14: error: expected unqualified-id before numeric constant
 #define LOW  0x0
              ^
/home/zerowhy/Desktop/c_digo_para_trabalho_de_transito/c_digo_para_trabalho_de_transito.ino:86:27: note: in expansion of macro 'LOW'
     digitalWrite(fprverm. LOW);
                           ^
/home/zerowhy/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/Arduino.h:40:14: error: expected unqualified-id before numeric constant
 #define HIGH 0x1
              ^
/home/zerowhy/Desktop/c_digo_para_trabalho_de_transito/c_digo_para_trabalho_de_transito.ino:89:27: note: in expansion of macro 'HIGH'
     digitalWrite(fprverm. HIGH);
                           ^
/home/zerowhy/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/Arduino.h:41:14: error: expected unqualified-id before numeric constant
 #define LOW  0x0
              ^
/home/zerowhy/Desktop/c_digo_para_trabalho_de_transito/c_digo_para_trabalho_de_transito.ino:92:27: note: in expansion of macro 'LOW'
     digitalWrite(fprverm. LOW);
                           ^
/home/zerowhy/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/Arduino.h:41:14: error: expected unqualified-id before numeric constant
 #define LOW  0x0
              ^
/home/zerowhy/Desktop/c_digo_para_trabalho_de_transito/c_digo_para_trabalho_de_transito.ino:136:26: note: in expansion of macro 'LOW'
     digitalWrite(fprver. LOW);
                          ^
/home/zerowhy/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/Arduino.h:40:14: error: expected unqualified-id before numeric constant
 #define HIGH 0x1
              ^
/home/zerowhy/Desktop/c_digo_para_trabalho_de_transito/c_digo_para_trabalho_de_transito.ino:137:27: note: in expansion of macro 'HIGH'
     digitalWrite(fprverm. HIGH);
                           ^
/home/zerowhy/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/Arduino.h:41:14: error: expected unqualified-id before numeric constant
 #define LOW  0x0
              ^
/home/zerowhy/Desktop/c_digo_para_trabalho_de_transito/c_digo_para_trabalho_de_transito.ino:140:27: note: in expansion of macro 'LOW'
     digitalWrite(fprverm. LOW);
                           ^
/home/zerowhy/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/Arduino.h:40:14: error: expected unqualified-id before numeric constant
 #define HIGH 0x1
              ^
/home/zerowhy/Desktop/c_digo_para_trabalho_de_transito/c_digo_para_trabalho_de_transito.ino:143:27: note: in expansion of macro 'HIGH'
     digitalWrite(fprverm. HIGH);
                           ^
/home/zerowhy/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/Arduino.h:41:14: error: expected unqualified-id before numeric constant
 #define LOW  0x0
              ^
/home/zerowhy/Desktop/c_digo_para_trabalho_de_transito/c_digo_para_trabalho_de_transito.ino:146:27: note: in expansion of macro 'LOW'
     digitalWrite(fprverm. LOW);
                           ^
exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I couldn't find a fix anywhere.

Couldn’t find your code anywhere.

 digitalWrite(fprverm. LOW);

Change the period "." into a comma ","

Most likely not the only error, though. Please read and follow the directions in the "How to use this forum" post.

Thanks for the help! I didn't see that it was a dot.

Also, you don't need to define LOW and HIGH in your .ino file. The IDE automatically imports Arduino.h for you, which defines these constants.

PaulMurrayCbr:
Also, you don't need to define LOW and HIGH in your .ino file. The IDE automatically imports Arduino.h for you, which defines these constants.

Those defines ARE in Ardiuno.h:

/home/zerowhy/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/Arduino.h:40:14: error: expected unqualified-id before numeric constant
 #define HIGH 0x1
              ^

The compiler just points to them because the error was found in the expansion of that macro.

johnwasser:
Those defines ARE in Ardiuno.h:

/home/zerowhy/Downloads/arduino-1.8.9/hardware/arduino/avr/cores/arduino/Arduino.h:40:14: error: expected unqualified-id before numeric constant

#define HIGH 0x1
              ^



The compiler just points to them because the error was found in the expansion of that macro.

(slaps head) So they are!