I need to solve the problem between libraries and OneWire BH1750FVI. Library OneWire need for TinyRTC DS1307 with DS18B20, library BH1750FVI need for sensor modules to the light intensity.
#include <BH1750FVI.h> // light senzor
#include <OneWire.h> // OneWire
#include <DallasTemperature.h> // DS18B20
Here is the error message when compiling
Arduino: 1.6.3 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from HYDROPONIE.ino:18:0:
C:\Users\Jirka\Documents\Arduino\libraries\BH1750FVI/BH1750FVI.h:35:15: error: expected unqualified-id before numeric constant
#define reset 0x07
^
C:\Users\Jirka\Documents\Arduino\libraries\OneWire/OneWire.h:132:13: note: in expansion of macro 'reset'
uint8_t reset(void);
^
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Advise someone what to do? Sorry for my English.