Arduino: 1.8.11 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
C:\Users\premp\Desktop\sketch_dec26a\sketch_dec26a.ino: In function 'void setup()':
sketch_dec26a:35:3: error: 'read_sensor' was not declared in this scope
35 | read_sensor();
| ^~~~~~~~~~~
C:\Users\premp\Desktop\sketch_dec26a\sketch_dec26a.ino: In function 'void loop()':
sketch_dec26a:46:5: error: 'read_sensor' was not declared in this scope
46 | read_sensor();
| ^~~~~~~~~~~
C:\Users\premp\Desktop\sketch_dec26a\sketch_dec26a.ino: In function 'void Line_Notify1(String)':
sketch_dec26a:86:20: error: a function-definition is not allowed here before '{' token
86 | void read_sensor() {
| ^
sketch_dec26a:97:57: error: expected primary-expression at end of input
97 | ----------------------------------------------------------
| ^~
sketch_dec26a:97:57: error: expected '}' at end of input
C:\Users\premp\Desktop\sketch_dec26a\sketch_dec26a.ino:59:35: note: to match this '{'
59 | void Line_Notify1(String message) {
| ^
exit status 1
'read_sensor' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.