Помогите пожалуйста, что я не правильно делаю

Рин Мир
Offline
Зарегистрирован: 05.12.2019
[code]
#include <Wire.h>
#include <Adafruit_BMP085.h> //библиотека датчика давления
Adafruit_BMP085 bmp;
float P;// переменная для давления
#include <Adafruit_Sensor.h>
#include <Adafruit_AM2320.h>
AM2320 th;

#include <OLED_I2C.h> // библиотека дисплея OLED
OLED myOLED(SDA, SCL, 8); // Подключение дисплея hardware SDA , SCL
extern uint8_t RusFont[]; // Русский шрифт
extern uint8_t MegaNumbers[]; // Подключение больших шрифтов
extern uint8_t SmallFont[]; // Базовый шрифт без поддержки русскийх символов.

extern uint8_t term[]; // иконка градусника
extern uint8_t grad[]; // иконка знака градуса
extern uint8_t hum[];  // иконка влажности

#include <DS1307.h> // библиотека часов
DS1307 rtc(A0, A1);
Time t;

int x = 0;

void setup() {
  myOLED.begin();
  bmp.begin();
  myOLED.setFont(RusFont);
  myOLED.setBrightness(70); // желаемая яркость дисплея от 0 до 250
  rtc.halt(false);
  //rtc.setDOW(WEDNESDAY); // установка часов
  //rtc.setTime(10, 46, 40); //20 сек на запись
  //rtc.setDate(18, 5, 2016);
  // Установим SQW/Out частоту для контроля частотомером
  //rtc.setSQWRate(SQW_RATE_32K); // на выбор 1Hz, 4K, 8K, 32K
  //rtc.enableSQW(true);

}

void loop() {
// цикл отображения 6 секунд часы, потом датчики 
    if (x >= 20) { 
    temp();
    h();
    tem();
    dat();
    x=0;
  }
  else
  {
    watch();
  }
  x++;
}

void watch() {
// цикл часов и календаря
  myOLED.setFont(RusFont);
  t = rtc.getTime();
  switch (t.dow) // рисуем дни недели
  {
  case 1:     
    myOLED.print("GJYTLTKMYBR", CENTER, 0);    
    break;
  case 2:     
    myOLED.print("DNJHYBR", CENTER, 0);        
    break;
  case 3:     
    myOLED.print("CHTLF", CENTER, 0);          
    break;
  case 4:     
    myOLED.print("XTNDTHU", CENTER, 0);        
    break;
  case 5:     
    myOLED.print("GZNYBWF", CENTER, 0);        
    break;
  case 6:     
    myOLED.print("CE<<JNF", CENTER, 0);        
    break;
  case 7:     
    myOLED.print("DJCRHTCTYMT", CENTER, 0);    
    break;
  }
  // вывод текущего времени на дисплей
  t = rtc.getTime();
  myOLED.setFont(MegaNumbers);
  myOLED.printNumI(int(t.hour), 4, 12, 2, '0');
  myOLED.print("/", 52, 12);
  myOLED.printNumI(int(t.min), 75, 12, 2, '0');
  
  myOLED.setFont(RusFont);
  switch (t.mon) // рисуем месяцы
  {
  case 1:
    myOLED.print(String(t.date), 30, 57);
    myOLED.print("ZYDFHZ", CENTER, 57);
    myOLED.print(String(t.year), 88, 57);
    break;
  case 2:
    myOLED.print(String(t.date), 26, 57);
    myOLED.print("ATDHFKZ", CENTER, 57);
    myOLED.print(String(t.year), 92, 57);
    break;
  case 3:
    myOLED.print(String(t.date), 30, 57);
    myOLED.print("VFHNF", CENTER, 57);
    myOLED.print(String(t.year), 88, 57);
    break;
  case 4:
    myOLED.print(String(t.date), 30, 57);
    myOLED.print("FGHTKZ", CENTER, 57);
    myOLED.print(String(t.year), 88, 57);
    break;
  case 5:
    myOLED.print(String(t.date), 36, 57);
    myOLED.print("VFZ", CENTER, 57);
    myOLED.print(String(t.year), 82, 57);
    break;
  case 6:
    myOLED.print(String(t.date), 35, 57);
    myOLED.print("B>YZ", CENTER, 57);
    myOLED.print(String(t.year), 81, 57);
    break;
  case 7:
    myOLED.print(String(t.date), 35, 57);
    myOLED.print("B>KZ", CENTER, 57);
    myOLED.print(String(t.year), 81, 57);
    break;
  case 8:
    myOLED.print(String(t.date), 28, 57);
    myOLED.print("FDUECNF", CENTER, 57);
    myOLED.print(String(t.year), 90, 57);
    break;
  case 9:
    myOLED.print(String(t.date), 24, 57);
    myOLED.print("CTYNZ<HZ", CENTER, 57);
    myOLED.print(String(t.year), 94, 57);
    break;
  case 10:
    myOLED.print(String(t.date), 26, 57);
    myOLED.print("JRNZ<HZ", CENTER, 57);
    myOLED.print(String(t.year), 92, 57);
    break;
  case 11:
    myOLED.print(String(t.date), 28, 57);
    myOLED.print("YJZ<HZ", CENTER, 57);
    myOLED.print(String(t.year), 90, 57);
    break;
  case 12:
    myOLED.print(String(t.date), 26, 57);
    myOLED.print("LTRF<HZ", CENTER, 57);
    myOLED.print(String(t.year), 92, 57);
    break;
  }
  // вывод мигающего двоеточия
  myOLED.update();
  delay(450);
  myOLED.setFont(MegaNumbers);
  myOLED.print("-", 51, 12);
  myOLED.update();
  delay(450);
}

void temp(){
// Выводим на дисплей значения температуры ВМР085
  myOLED.clrScr(); 
  myOLED.setFont(RusFont);
  myOLED.print("NTVGTHFNEHF", CENTER, 0); 
  myOLED.drawBitmap(0, 17, term, 19, 40);
  myOLED.setFont(MegaNumbers);
  myOLED.print(String(bmp.readTemperature() , 1), 21, 16); // Вывод значения температуры, с точностью до десятых
  myOLED.drawBitmap(115, 12, grad, 13, 12); 
  myOLED.update();
  delay(4000); // Пауза 
  }

  void h(){
  // Выводим на дисплей значения влажности АМ2320
  switch(th.Read());
  myOLED.clrScr(); 
  myOLED.setFont(RusFont);
  myOLED.print("DKF:YJCNM", CENTER, 0); 
  myOLED.drawBitmap(0, 20, hum, 28, 31);
  myOLED.setFont(MegaNumbers);
  myOLED.print(String(th.h, 1), 32, 16); // вывод значения влажности
  myOLED.update();
  delay(4000); // Пауза 
  }
    
  void tem(){
  // Выводим на дисплей значения температуры АМ2320
  myOLED.clrScr(); 
  myOLED.setFont(RusFont);
  myOLED.print("NTVGTHFNEHF", CENTER, 0); 
  myOLED.drawBitmap(0, 17, term, 19, 40);
  myOLED.setFont(MegaNumbers);
  myOLED.print(String(th.t, 1), 21, 16); // Вывод значения температуры, с точностью до десятых
  myOLED.drawBitmap(115, 12, grad, 13, 12); 
  myOLED.update();
  delay(4000); // Пауза 
  }

  void dat(){
  // Выводим на дисплей значения атмосферного давления ВМР085
  myOLED.clrScr(); 
  myOLED.setFont(RusFont);
  myOLED.print("LFDKTYBT", CENTER, 0); 
  //myOLED.setFont(SmallFont);
  //myOLED.print("MM.PT.CT", CENTER, 55); 
  myOLED.setFont(MegaNumbers);
  P=bmp.readPressure(); // считывем показания
  P=(float)0.0075*P;    // пересчет значения в мм.рт.ст
  myOLED.print(String(P , 1), CENTER, 16); // Отображение значения давления, с точностью до десятых
  myOLED.update();
  delay(4000); // пауза
  myOLED.clrScr();
  }



[/code]

 

Рин Мир
Offline
Зарегистрирован: 05.12.2019

пишет ошибка компиляции для ардуино нано

 

 

Рин Мир
Offline
Зарегистрирован: 05.12.2019
Arduino: 1.8.4 (Windows 7), Плата:"Arduino Nano, ATmega328"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Ринальдушка\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Ринальдушка\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Ринальдушка\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10804 -build-path C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693 -warnings=none -build-cache C:\Users\C3A6~1\AppData\Local\Temp\arduino_cache_393891 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9 -prefs=runtime.tools.avr-gcc.path=C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.1.1 -verbose C:\Users\C3A6~1\AppData\Local\Temp\arduino_modified_sketch_467786\OLED_watch_BMP085_AM2320.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Ринальдушка\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Ринальдушка\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Ринальдушка\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10804 -build-path C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693 -warnings=none -build-cache C:\Users\C3A6~1\AppData\Local\Temp\arduino_cache_393891 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9 -prefs=runtime.tools.avr-gcc.path=C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.1.1 -verbose C:\Users\C3A6~1\AppData\Local\Temp\arduino_modified_sketch_467786\OLED_watch_BMP085_AM2320.ino
Using board 'nano' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\OLED_watch_BMP085_AM2320.ino.cpp" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\OLED_watch_BMP085_AM2320.ino.cpp" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\OLED_watch_BMP085_AM2320.ino.cpp" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\OLED_watch_BMP085_AM2320.ino.cpp" -o "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\preproc\ctags_target_for_gcc_minus_e.cpp"
C:\Users\C3A6~1\AppData\Local\Temp\arduino_modified_sketch_467786\OLED_watch_BMP085_AM2320.ino:5:29: fatal error: Adafruit_Sensor.h: No such file or directory

 #include <Adafruit_Sensor.h>

                             ^

compilation terminated.

Используем библиотеку Wire версии 1.0 из папки: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire 
Используем библиотеку Adafruit-BMP085 версии 1.0.0 из папки: C:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085 
exit status 1
Ошибка компиляции для платы Arduino Nano.

 

nik182
Offline
Зарегистрирован: 04.05.2015

Прочитать Adafruit_Sensor.h: No such file or directory и перевести на русский слабо? 

kalapanga
Offline
Зарегистрирован: 23.10.2016

Установите библиотеку Adafruit_Sensor

Рин Мир
Offline
Зарегистрирован: 05.12.2019
Arduino: 1.8.4 (Windows 7), Плата:"Arduino Nano, ATmega328"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Ринальдушка\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Ринальдушка\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Ринальдушка\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10804 -build-path C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693 -warnings=none -build-cache C:\Users\C3A6~1\AppData\Local\Temp\arduino_cache_393891 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.1.1 -prefs=runtime.tools.avr-gcc.path=C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2 -verbose C:\Users\C3A6~1\AppData\Local\Temp\arduino_modified_sketch_932284\OLED_watch_BMP085_AM2320.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Ринальдушка\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Ринальдушка\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Ринальдушка\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10804 -build-path C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693 -warnings=none -build-cache C:\Users\C3A6~1\AppData\Local\Temp\arduino_cache_393891 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.1.1 -prefs=runtime.tools.avr-gcc.path=C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2 -verbose C:\Users\C3A6~1\AppData\Local\Temp\arduino_modified_sketch_932284\OLED_watch_BMP085_AM2320.ino
Using board 'nano' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Изменены опции сборки, пересобираем все
Detecting libraries used...
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\OLED_watch_BMP085_AM2320.ino.cpp" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\OLED_watch_BMP085_AM2320.ino.cpp" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\OLED_watch_BMP085_AM2320.ino.cpp" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\OLED_watch_BMP085_AM2320.ino.cpp" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\OLED_watch_BMP085_AM2320.ino.cpp" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "-IC:\Program Files (x86)\Arduino\libraries\OLED_I2C" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\OLED_watch_BMP085_AM2320.ino.cpp" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "-IC:\Program Files (x86)\Arduino\libraries\OLED_I2C" "-IC:\Program Files (x86)\Arduino\libraries\DS1307" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\OLED_watch_BMP085_AM2320.ino.cpp" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "-IC:\Program Files (x86)\Arduino\libraries\OLED_I2C" "-IC:\Program Files (x86)\Arduino\libraries\DS1307" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\grad.c" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "-IC:\Program Files (x86)\Arduino\libraries\OLED_I2C" "-IC:\Program Files (x86)\Arduino\libraries\DS1307" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\hum.c" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "-IC:\Program Files (x86)\Arduino\libraries\OLED_I2C" "-IC:\Program Files (x86)\Arduino\libraries\DS1307" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\term.c" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "-IC:\Program Files (x86)\Arduino\libraries\OLED_I2C" "-IC:\Program Files (x86)\Arduino\libraries\DS1307" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src\Wire.cpp" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "-IC:\Program Files (x86)\Arduino\libraries\OLED_I2C" "-IC:\Program Files (x86)\Arduino\libraries\DS1307" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src\utility\twi.c" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "-IC:\Program Files (x86)\Arduino\libraries\OLED_I2C" "-IC:\Program Files (x86)\Arduino\libraries\DS1307" "C:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085\Adafruit_BMP085.cpp" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "-IC:\Program Files (x86)\Arduino\libraries\OLED_I2C" "-IC:\Program Files (x86)\Arduino\libraries\DS1307" "C:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library\Adafruit_AM2320.cpp" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "-IC:\Program Files (x86)\Arduino\libraries\OLED_I2C" "-IC:\Program Files (x86)\Arduino\libraries\DS1307" "C:\Program Files (x86)\Arduino\libraries\OLED_I2C\DefaultFonts.c" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "-IC:\Program Files (x86)\Arduino\libraries\OLED_I2C" "-IC:\Program Files (x86)\Arduino\libraries\DS1307" "C:\Program Files (x86)\Arduino\libraries\OLED_I2C\OLED_I2C.cpp" -o "nul"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "-IC:\Program Files (x86)\Arduino\libraries\OLED_I2C" "-IC:\Program Files (x86)\Arduino\libraries\DS1307" "C:\Program Files (x86)\Arduino\libraries\DS1307\DS1307.cpp" -o "nul"
Generating function prototypes...
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "-IC:\Program Files (x86)\Arduino\libraries\OLED_I2C" "-IC:\Program Files (x86)\Arduino\libraries\DS1307" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\OLED_watch_BMP085_AM2320.ino.cpp" -o "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\preproc\ctags_target_for_gcc_minus_e.cpp"
Компиляция скетча...
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "-IC:\Program Files (x86)\Arduino\libraries\OLED_I2C" "-IC:\Program Files (x86)\Arduino\libraries\DS1307" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\grad.c" -o "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\grad.c.o"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "-IC:\Program Files (x86)\Arduino\libraries\OLED_I2C" "-IC:\Program Files (x86)\Arduino\libraries\DS1307" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\hum.c" -o "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\hum.c.o"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "-IC:\Program Files (x86)\Arduino\libraries\OLED_I2C" "-IC:\Program Files (x86)\Arduino\libraries\DS1307" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\term.c" -o "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\term.c.o"
"C:\Users\Ринальдушка\AppData\Local\Arduino15\packages\arduino\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=10804 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085" "-IC:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor" "-IC:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library" "-IC:\Program Files (x86)\Arduino\libraries\OLED_I2C" "-IC:\Program Files (x86)\Arduino\libraries\DS1307" "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\OLED_watch_BMP085_AM2320.ino.cpp" -o "C:\Users\C3A6~1\AppData\Local\Temp\arduino_build_80693\sketch\OLED_watch_BMP085_AM2320.ino.cpp.o"
OLED_watch_BMP085_AM2320:7: error: 'AM2320' does not name a type

 AM2320 th;

 ^

C:\Users\C3A6~1\AppData\Local\Temp\arduino_modified_sketch_932284\OLED_watch_BMP085_AM2320.ino: In function 'void h()':

OLED_watch_BMP085_AM2320:179: error: 'th' was not declared in this scope

   switch(th.Read());

          ^

OLED_watch_BMP085_AM2320:185: error: 'th' was not declared in this scope

   myOLED.print(String(th.h, 1), 32, 16); // вывод значения влажности

                       ^

C:\Users\C3A6~1\AppData\Local\Temp\arduino_modified_sketch_932284\OLED_watch_BMP085_AM2320.ino: In function 'void tem()':

OLED_watch_BMP085_AM2320:197: error: 'th' was not declared in this scope

   myOLED.print(String(th.t, 1), 21, 16); // Вывод значения температуры, с точностью до десятых

                       ^

Используем библиотеку Wire версии 1.0 из папки: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire 
Используем библиотеку Adafruit-BMP085 версии 1.0.0 из папки: C:\Program Files (x86)\Arduino\libraries\Adafruit-BMP085 
Используем библиотеку Adafruit_Sensor версии 1.0.3 из папки: C:\Program Files (x86)\Arduino\libraries\Adafruit_Sensor 
Используем библиотеку Adafruit_AM2320_sensor_library версии 1.1.3 из папки: C:\Users\Ринальдушка\Documents\Arduino\libraries\Adafruit_AM2320_sensor_library 
Используем библиотеку OLED_I2C в папке: C:\Program Files (x86)\Arduino\libraries\OLED_I2C (legacy)
Используем библиотеку DS1307 в папке: C:\Program Files (x86)\Arduino\libraries\DS1307 (legacy)
exit status 1
'AM2320' does not name a type

Неверная библиотека найдена в C:\Program Files (x86)\Arduino\libraries\AM2320: C:\Program Files (x86)\Arduino\libraries\AM2320
Неверная библиотека найдена в C:\Program Files (x86)\Arduino\libraries\minimLibs: C:\Program Files (x86)\Arduino\libraries\minimLibs
Неверная библиотека найдена в C:\Program Files (x86)\Arduino\libraries\AM2320: C:\Program Files (x86)\Arduino\libraries\AM2320
Неверная библиотека найдена в C:\Program Files (x86)\Arduino\libraries\minimLibs: C:\Program Files (x86)\Arduino\libraries\minimLibs

 

Рин Мир
Offline
Зарегистрирован: 05.12.2019

вставил,

 

Рин Мир
Offline
Зарегистрирован: 05.12.2019

теперь ошибка 'class Adafruit_AM2320' has no member named 'Read'

kalapanga
Offline
Зарегистрирован: 23.10.2016

Библиотеку установили, теперь, чтобы знать как с ней обращаться, посмотрите примеры к ней, ну или собственно сам файл Adafruit_Sensor.h

Если компилятор говорит, что нет там никакого Read, значит нет. Что-то другое есть.