Can I ask I'm new on Arduino

Arduino: 1.8.16 (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"

E:\MS ABE\ADVANCE IRRIGATION AND DRAINAGE\Ad_Irr\Ad_Irr.ino: In function 'void sendSensor()':

Ad_Irr:38:10: error: expected primary-expression before '.' token

38 | Blynk_h.virtualWrite(V5, h); //V5 is for Humidity

  |          ^

Ad_Irr:39:10: error: expected primary-expression before '.' token

39 | Blynk_h.virtualWrite(V6, t); //V6 is for Temperature

  |          ^

E:\MS ABE\ADVANCE IRRIGATION AND DRAINAGE\Ad_Irr\Ad_Irr.ino: In function 'void setup()':

Ad_Irr:44:10: error: expected primary-expression before '.' token

44 | Blynk_h.begin(auth, ssid, pass);

  |          ^

Ad_Irr:44:17: error: 'auth' was not declared in this scope; did you mean 'auto'?

44 | Blynk_h.begin(auth, ssid, pass);

  |                 ^~~~

  |                 auto

Ad_Irr:50:10: error: expected primary-expression before '.' token

50 | Blynk_h.begin(auth, ssid, pass);

  |          ^

E:\MS ABE\ADVANCE IRRIGATION AND DRAINAGE\Ad_Irr\Ad_Irr.ino: In function 'void sendTemps()':

Ad_Irr:61:8: error: expected primary-expression before '.' token

61 | Blynk_h.virtualWrite(V1, temp);

  |        ^

Ad_Irr:62:8: error: expected primary-expression before '.' token

62 | Blynk_h.virtualWrite(V2,sensor);

  |        ^

E:\MS ABE\ADVANCE IRRIGATION AND DRAINAGE\Ad_Irr\Ad_Irr.ino: In function 'void loop()':

Ad_Irr:67:10: error: expected primary-expression before '.' token

67 | Blynk_h.run();

  |          ^

Ad_Irr:75:3: error: 'initState' was not declared in this scope; did you mean 'initstate'?

75 | initState = 0;

  |   ^~~~~~~~~

  |   initstate

Ad_Irr:76:10: error: expected primary-expression before '.' token

76 | Blynk_h.notify("Water your plants");

  |          ^

exit status 1

expected primary-expression before '.' token

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

I don't see a question.
You should also post your code and a schematic if you have stuff connected to you Arduino.

Did you install the ESP32 core and select the correct board?

@cu3nca sure you can ask but not in the section you posted in. This is about the installation troubleshooting of the system NOT YOUR project.

You post is clearly about your project so I have moved the post to a more appropriate section.

Did you download this code from somewhere? If so, please post a link to that source.

The problem is that the identifier Blynk_h is defined as a macro in the library. Something like this:

#define Blynk_h

You can not also use that same name also as an object name. Pick some other unused name for the identifier.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.