Croduino NOVA compilation errors with Blynk DHT11 code

Customer:

The NOVA finally arrived! I have a few questions:

  1. The NOVA doesn’t have pins I can insert headers into - does this mean I have to solder them?

  2. Is there a tutorial for the NOVA?

  3. Is the video for NOVA and Blynk finished?

Original message (Serbian)

Davide,

Koncno je proradila veza, NOVA je stigla!

Imam dva pitanja:

  1. Na NOVI nema pinova gde mogu da utaknem iglice, da li to znaci da moram da lemim?

  2. Jel ima neki tutorijal za NOVU?

  3. Da li je gotov video za NOVU i Blync?

[name removed]

Originally submitted via email support on 4 January 2018. Migrated to the forum for community visibility.

Soldered Support:

  1. Yes. That’s how we send it by default. Were you able to sort that out in the meantime?

  2. Here are the instructions for programming: https://e-radionica.com/hr/blog/2016/01/31/kako-programirati-croduino-nova-iz-arduino-softwarea/
    Here’s how to open a web page with the NOVA: https://e-radionica.com/hr/blog/2016/08/17/croduino-nova-kao-client-a-k-a-kako-otvoriti-web-stranicu-s-croduino-nova/

  3. I’m sending it as an attachment. It’s not finished yet, but you’ll get an image.

Original message (Serbian)

napokon :slight_smile:

  1. Da. Tako šaljemo po defaultu, nisam razmišljao da nemate lemilicu. Jeste li uspjeli to riješiti u međuvremenu?

  2. Ovdje su upute za programiranje: https://e-radionica.com/hr/blog/2016/01/31/kako-programirati-croduino-nova-iz-arduino-softwarea/
    ovdje je kako otvoriti web stranicu s novom: https://e-radionica.com/hr/blog/2016/08/17/croduino-nova-kao-client-a-k-a-kako-otvoriti-web-stranicu-s-croduino-nova/

  3. Šaljem u privitku. Nije gotovo, ali dobit ćete sliku

Customer:

I’m getting compilation errors with this Blynk DHT11 code.

First error:

Arduino: 1.8.5 (Windows 10), Board: “Generic ESP8266 Module, 80 MHz, nodemcu, 26 MHz, 40MHz, QIO, 4M (1M SPIFFS), v2 Prebuilt (MSS=536), Disabled, None, 115200”

BlynkDHT11:17: error: stray ‘\357’ in program

if (isnan(h)|| isnan(t)){

^

BlynkDHT11:17: error: stray ‘\275’ in program

BlynkDHT11:17: error: stray ‘\234’ in program

BlynkDHT11:17: error: stray ‘\357’ in program

BlynkDHT11:17: error: stray ‘\275’ in program

BlynkDHT11:17: error: stray ‘\234’ in program

BlynkDHT11:18: error: missing terminating " character

Serial.println("Failed to readd from DHT sensor!);

^

BlynkDHT11:11: error: ‘DHTYPE’ was not declared in this scope

DHT dht (DHTPIN, DHTYPE);

^

C:\Users[user]\Desktop\BlynkDHT11\BlynkDHT11.ino: In function ‘void sendSensor()’:

BlynkDHT11:17: error: expected ‘)’ before ‘isnan’

if (isnan(h)|| isnan(t)){

^

BlynkDHT11:19: error: expected primary-expression before ‘return’

return;

^

exit status 1

stray ‘\357’ in program

Second error:

Arduino: 1.8.5 (Windows 10), Board: “Generic ESP8266 Module, 80 MHz, nodemcu, 26 MHz, 40MHz, QIO, 4M (1M SPIFFS), v2 Prebuilt (MSS=536), Disabled, None, 115200”

In file included from C:\Users[user]\Documents\Arduino\libraries\DHT-sensor-library-master\DHT_U.cpp:22:0:

C:\Users[user]\Documents\Arduino\libraries\DHT-sensor-library-master\DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory

#include

^

compilation terminated.

exit status 1

Error compiling for board Generic ESP8266 Module.

Original message (Serbian)

Zanemari prethodnu poruku, resio sam, sad sam dobio ovu error message kod kompajliranja

Arduino: 1.8.5 (Windows 10), Board: “Generic ESP8266 Module, 80 MHz, nodemcu, 26 MHz, 40MHz, QIO, 4M (1M SPIFFS), v2 Prebuilt (MSS=536), Disabled, None, 115200”

BlynkDHT11:17: error: stray ‘\357’ in program

if (isnan(h)|| isnan(t)){

^

BlynkDHT11:17: error: stray ‘\275’ in program

BlynkDHT11:17: error: stray ‘\234’ in program

BlynkDHT11:17: error: stray ‘\357’ in program

BlynkDHT11:17: error: stray ‘\275’ in program

BlynkDHT11:17: error: stray ‘\234’ in program

BlynkDHT11:18: error: missing terminating " character

Serial.println("Failed to readd from DHT sensor!);

^

BlynkDHT11:11: error: ‘DHTYPE’ was not declared in this scope

DHT dht (DHTPIN, DHTYPE);

^

C:\Users[user]\Desktop\BlynkDHT11\BlynkDHT11.ino: In function ‘void sendSensor()’:

BlynkDHT11:17: error: expected ‘)’ before ‘isnan’

if (isnan(h)|| isnan(t)){

^

BlynkDHT11:19: error: expected primary-expression before ‘return’

return;

^

exit status 1

stray ‘\357’ in program

This report would have more information with

“Show verbose output during compilation”

option enabled in File → Preferences.

Davide,

Dobio sam ovu gresku

Arduino: 1.8.5 (Windows 10), Board: “Generic ESP8266 Module, 80 MHz, nodemcu, 26 MHz, 40MHz, QIO, 4M (1M SPIFFS), v2 Prebuilt (MSS=536), Disabled, None, 115200”

In file included from C:\Users[user]\Documents\Arduino\libraries\DHT-sensor-library-master\DHT_U.cpp:22:0:

C:\Users[user]\Documents\Arduino\libraries\DHT-sensor-library-master\DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory

#include

^

compilation terminated.

exit status 1

Error compiling for board Generic ESP8266 Module.

This report would have more information with

“Show verbose output during compilation”

option enabled in File → Preferences.

Soldered Support:

The errors in your code come from corrupted characters. This likely happened when you copied the code from a web page. Try copying it using a different browser.

Original message (Serbian)

kabel trebate micro USB, kao od pametnog telefona, ne dolazi uz NOVU, ali sigurno ste pronašli jedan blizu :slight_smile:

Drago mi je čuti da Blynk radi iz prve :slight_smile:

Što se tiče ove zadnje greške, to znači da u kodu imate nekakve greške. Vjerojatno ste kopirali kod s neke web stranice? Probajte kopirati koristeći drugi pretraživač.