BUG CODICE HOME AUOMATION GSM

./opt/arduino-builder/arduino-builder -compile -core-api-version 10611 -hardware opt / arduino-builder / hardware -hardware ./opt/cores -tools opt / arduino-builder / tools -tools ./opt / tools -built-in-libraries opt / libraries / latest -logger humantags -fqbn arduino: avr: uno -build-cache / tmp -build-path / tmp / 564090085 / build -verbose -libraries / tmp / 564090085 / custom - librerie / tmp / 564090085 / pinned / tmp / 564090085 / sketch_jun28a

Usando la board 'uno' dalla piattaforma nella cartella: / home / ubuntu / opt / core / arduino / avr

Usando il core 'arduino' dalla piattaforma nella cartella: / home / ubuntu / opt / core / arduino / avr

Rilevamento delle librerie utilizzate ...

"/home/ubuntu/opt/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/home/ubuntu/opt/cores/arduino/avr/cores/arduino" "-I/home/ubuntu/opt/cores/arduino/avr/variants/standard" "/tmp/564090085/build/sketch/sketch_jun28a.ino.cpp" -o "/dev/null"

"/home/ubuntu/opt/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/home/ubuntu/opt/cores/arduino/avr/cores/arduino" "-I/home/ubuntu/opt/cores/arduino/avr/variants/standard" "-I/home/ubuntu/opt/libraries/latest/liquidcrystal_1_0_7/src" "/tmp/564090085/build/sketch/sketch_jun28a.ino.cpp" -o "/dev/null"

"/home/ubuntu/opt/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/home/ubuntu/opt/cores/arduino/avr/cores/arduino" "-I/home/ubuntu/opt/cores/arduino/avr/variants/standard" "-I/home/ubuntu/opt/libraries/latest/liquidcrystal_1_0_7/src" "-I/home/ubuntu/opt/cores/arduino/avr/libraries/SoftwareSerial/src" "/tmp/564090085/build/sketch/sketch_jun28a.ino.cpp" -o "/dev/null"

"/home/ubuntu/opt/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/home/ubuntu/opt/cores/arduino/avr/cores/arduino" "-I/home/ubuntu/opt/cores/arduino/avr/variants/standard" "-I/home/ubuntu/opt/libraries/latest/liquidcrystal_1_0_7/src" "-I/home/ubuntu/opt/cores/arduino/avr/libraries/SoftwareSerial/src" "/home/ubuntu/opt/libraries/latest/liquidcrystal_1_0_7/src/LiquidCrystal.cpp" -o "/dev/null"

"/home/ubuntu/opt/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/home/ubuntu/opt/cores/arduino/avr/cores/arduino" "-I/home/ubuntu/opt/cores/arduino/avr/variants/standard" "-I/home/ubuntu/opt/libraries/latest/liquidcrystal_1_0_7/src" "-I/home/ubuntu/opt/cores/arduino/avr/libraries/SoftwareSerial/src" "/home/ubuntu/opt/cores/arduino/avr/libraries/SoftwareSerial/src/SoftwareSerial.cpp" -o "/dev/null"

Generating function prototypes...

"/home/ubuntu/opt/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/home/ubuntu/opt/cores/arduino/avr/cores/arduino" "-I/home/ubuntu/opt/cores/arduino/avr/variants/standard" "-I/home/ubuntu/opt/libraries/latest/liquidcrystal_1_0_7/src" "-I/home/ubuntu/opt/cores/arduino/avr/libraries/SoftwareSerial/src" "/tmp/564090085/build/sketch/sketch_jun28a.ino.cpp" -o "/tmp/564090085/build/preproc/ctags_target_for_gcc_minus_e.cpp"

"/home/ubuntu/opt/arduino-builder/tools/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/tmp/564090085/build/preproc/ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"/home/ubuntu/opt/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/home/ubuntu/opt/cores/arduino/avr/cores/arduino" "-I/home/ubuntu/opt/cores/arduino/avr/variants/standard" "-I/home/ubuntu/opt/libraries/latest/liquidcrystal_1_0_7/src" "-I/home/ubuntu/opt/cores/arduino/avr/libraries/SoftwareSerial/src" "/tmp/564090085/build/sketch/sketch_jun28a.ino.cpp" -o "/tmp/564090085/build/sketch/sketch_jun28a.ino.cpp.o"

Multiple libraries were found for "SoftwareSerial.h"

Used: /home/ubuntu/opt/cores/arduino/avr/libraries/SoftwareSerial

Not used: /home/ubuntu/opt/libraries/latest/printoo_library_1_0_2

Using library liquidcrystal_1_0_7 at version 1.0.7 in folder: /home/ubuntu/opt/libraries/latest/liquidcrystal_1_0_7

Using library SoftwareSerial at version 1.0 in folder: /home/ubuntu/opt/cores/arduino/avr/libraries/SoftwareSerial

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:53:2: error: stray '\' in program

gsm.println ( "AT + CMGS = \" + 918.129.613.637 \ "\ r");

^

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:53:2: error: missing terminating " character

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:11:1: error: 'Lcd' does not name a type

Lcd LiquidCrystal (13,12,5,4,3,2);

^

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:17:1: error: 'booleano' does not name a type

booleano bulb_1Status = false, bulb_2Status = false, bulb_3Status = false, fanStatus = false;

^

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino: In function 'void setup()':

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:24:2: error: 'lcd' was not declared in this scope

lcd.begin (16,2);

^

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:44:15: error: 'ritardo' was not declared in this scope

ritardo (2000);

^

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino: In function 'void send_deviceStatus()':

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:52:13: error: 'cicalino' was not declared in this scope

cicalino (2);

^

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:53:55: error: expected ')' before 'r'

gsm.println ( "AT + CMGS = \" + 918.129.613.637 \ "\ r");

^

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:57:6: error: 'bulb_1Status' was not declared in this scope

if (bulb_1Status == true)

^

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:59:6: error: 'bulb_1Status' was not declared in this scope

if (bulb_1Status == false)

^

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:64:6: error: 'bulb_2Status' was not declared in this scope

if (bulb_2Status == true)

^

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:66:6: error: 'bulb_2Status' was not declared in this scope

if (bulb_2Status == false)

^

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:71:6: error: 'bulb_3Status' was not declared in this scope

if (bulb_3Status == true)

^

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:73:6: error: 'bulb_3Status' was not declared in this scope

if (bulb_3Status == false)

^

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:78:6: error: 'fanStatus' was not declared in this scope

if (fanStatus == true)

^

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:80:6: error: 'fanStatus' was not declared in this scope

if (fanStatus == false)

^

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino: In function 'void buzzer(int)':

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:96:14: error: 'ritardo' was not declared in this scope

ritardo (500);

^

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino: In function 'void loop()':

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:105:2: error: 'lcd' was not declared in this scope

lcd.begin (16,2);

^

/tmp/564090085/sketch_jun28a/sketch_jun28a.ino:114:11: errore: "mentre" non è stato dichiarato in questo ambito

mentre (1)

^

stato di uscita 1

>andreaspawelski: prima di tutto, NON avendolo tu ancora fatto, nel rispetto del regolamento della sezione Italiana del forum (… punto 13, primo capoverso), ti chiedo cortesemente di presentarti IN QUESTO THREAD (spiegando bene quali conoscenze hai di elettronica e di programmazione … possibilmente evitando di scrivere solo una riga di saluto) e di leggere con MOLTA attenzione il su citato REGOLAMENTO

… poi, cortesemente, quando riporti cose così lunghe relative alla compilazione, racchiudile tra i tag CODE (… sono quelli che, in fase di edit, ti inserisce il bottone </> … primo a sinistra) …

… infine se, oltre a riportare tutti i messaggi che ti da il compilatore, poni anche una domanda e ci sipeghi cosa vuoi sapere … magari ricevi anche una risposta.

Guglielmo

P.S.: Ti segnalo inoltre che nelle altre sezioni del forum (oltre quella Italiana e quelle delle specifiche lingue) è d’obbligo l’uso della lingua Inglese, per cui, tuoi vecchi post in Italiano, in dette sezioni, sono stati eliminati.