а вот сейчас не компилируется
Arduino: 1.6.5 (Windows 7), Плата"Arduino Nano, ATmega328"
HMC5883L\HMC5883L.cpp.o: In function `HMC5883L::HMC5883L()':
C:\Program Files\Arduino\libraries\HMC5883L/HMC5883L.cpp:28: multiple definition of `HMC5883L::HMC5883L()'
HMC5883L.cpp.o:C:\Users\08A4~1\AppData\Local\Temp\build5219535508115437454.tmp/HMC5883L.cpp:28: first defined here
HMC5883L\HMC5883L.cpp.o: In function `HMC5883L::HMC5883L()':
C:\Program Files\Arduino\libraries\HMC5883L/HMC5883L.cpp:28: multiple definition of `HMC5883L::HMC5883L()'
HMC5883L.cpp.o:C:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire/Wire.h:73: first defined here
HMC5883L\HMC5883L.cpp.o: In function `HMC5883L::HMC5883L()':
C:\Program Files\Arduino\libraries\HMC5883L/HMC5883L.cpp:28: multiple definition of `HMC5883L::Write(int, int)'
HMC5883L.cpp.o:C:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire/Wire.h:73: first defined here
HMC5883L\HMC5883L.cpp.o: In function `HMC5883L::HMC5883L()':
C:\Program Files\Arduino\libraries\HMC5883L/HMC5883L.cpp:28: multiple definition of `HMC5883L::SetScale(float)'
HMC5883L.cpp.o:C:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire/Wire.h:73: first defined here
HMC5883L\HMC5883L.cpp.o: In function `HMC5883L::HMC5883L()':
C:\Program Files\Arduino\libraries\HMC5883L/HMC5883L.cpp:28: multiple definition of `HMC5883L::SetMeasurementMode(unsigned char)'
HMC5883L.cpp.o:C:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire/Wire.h:73: first defined here
HMC5883L\HMC5883L.cpp.o: In function `HMC5883L::HMC5883L()':
C:\Program Files\Arduino\libraries\HMC5883L/HMC5883L.cpp:28: multiple definition of `HMC5883L::GetErrorText(int)'
HMC5883L.cpp.o:C:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire/Wire.h:73: first defined here
HMC5883L\HMC5883L.cpp.o: In function `HMC5883L::HMC5883L()':
C:\Program Files\Arduino\libraries\HMC5883L/HMC5883L.cpp:28: multiple definition of `HMC5883L::Read(int, int)'
HMC5883L.cpp.o:C:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire/Wire.h:73: first defined here
HMC5883L\HMC5883L.cpp.o: In function `HMC5883L::HMC5883L()':
C:\Program Files\Arduino\libraries\HMC5883L/HMC5883L.cpp:28: multiple definition of `HMC5883L::ReadRawAxis()'
HMC5883L.cpp.o:C:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire/Wire.h:73: first defined here
HMC5883L\HMC5883L.cpp.o: In function `HMC5883L::HMC5883L()':
C:\Program Files\Arduino\libraries\HMC5883L/HMC5883L.cpp:28: multiple definition of `HMC5883L::ReadScaledAxis()'
HMC5883L.cpp.o:C:\Program Files\Arduino\hardware\arduino\avr\libraries\Wire/Wire.h:73: first defined here
collect2.exe: error: ld returned 1 exit status
Multiple libraries were found for "LiquidCrystal.h"
Used: C:\Users\Ћ«ҐЈ\Documents\Arduino\libraries\LiquidCrystal
Not used: C:\Program Files\Arduino\libraries\LiquidCrystal
Ошибка компиляции.
Это сообщение будет содержать больше информации чем
"Отображать вывод во время компиляции"
включено в Файл > Настройки