I am using esp32 module, I use DOIT ESP32 DEVKIT V1 on Arduino ide to compile but while compiling file it gives Error compiling for board DOIT ESP32 DEVKIT V1 error message
error message:
Arduino: 1.8.14 (Windows 7), Board: “DOIT ESP32 DEVKIT V1, 80MHz, 921600, None”
In file included from C:\Users\USER\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32/Arduino.h:40:0,
from sketch\sketch_sep23d.ino.cpp:1:
C:\Users\USER\Documents\Arduino\sketch_sep23d\sketch_sep23d.ino: In function ‘void gasmq7()’:
C:\Users\USER\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32/binary.h:38:19: error: expected unqualified-id before numeric constant
#define B00000001 1
^
C:\Program Files (x86)\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:53:12: note: in expansion of macro ‘B00000001’
#define Rs B00000001 // Register select bit
^
C:\Users\USER\Documents\Arduino\sketch_sep23d\sketch_sep23d.ino:25:7: note: in expansion of macro ‘Rs’
float Rs = ( 5.00 * RL / VRL ) - RL;
^
exit status 1
Error compiling for board DOIT ESP32 DEVKIT V1.