Hello Arduino users !
This is my first topic on this forum and I hope it's not the last.
While browsing a youtube I have found a really interesting project called - "Arduino Home Security System", made by user on youtube - Jun Peng. Finally I decided to make a similiar project for my own. Unfortunately I got some problems at the beginning.
Components that Im using:
- Arduino Mega 2560
- Arduino IDE 1.6.5
- Java installed on computer - Java. (Version 8 Update 51)
Problems after compiling a project that I received:
In file included from C:\Program Files (x86)\Arduino\libraries\Password/Password.h:40:0,
- from sketch_aug18a.ino:3:*
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:41:14: error: expected identifier before numeric constant
#define LOW 0x0 - ^*
C:\Program Files (x86)\Arduino\libraries\Keypad/Keypad.h:43:13: note: in expansion of macro 'LOW'
#define OFF LOW - ^*
C:\Program Files (x86)\Arduino\libraries\RTClib/RTClib.h:59:25: note: in expansion of macro 'OFF'
enum Ds1307SqwPinMode { OFF = 0x00, ON = 0x80, SquareWave1HZ = 0x10, SquareWave4kHz = 0x11, SquareWave8kHz = 0x12, SquareWave32kHz = 0x13 }; - ^*
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:41:14: error: expected '}' before numeric constant
#define LOW 0x0 - ^*
C:\Program Files (x86)\Arduino\libraries\Keypad/Keypad.h:43:13: note: in expansion of macro 'LOW'
#define OFF LOW - ^*
C:\Program Files (x86)\Arduino\libraries\RTClib/RTClib.h:59:25: note: in expansion of macro 'OFF'
enum Ds1307SqwPinMode { OFF = 0x00, ON = 0x80, SquareWave1HZ = 0x10, SquareWave4kHz = 0x11, SquareWave8kHz = 0x12, SquareWave32kHz = 0x13 }; - ^*
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:41:14: error: expected unqualified-id before numeric constant
#define LOW 0x0 - ^*
C:\Program Files (x86)\Arduino\libraries\Keypad/Keypad.h:43:13: note: in expansion of macro 'LOW'
#define OFF LOW - ^*
C:\Program Files (x86)\Arduino\libraries\RTClib/RTClib.h:59:25: note: in expansion of macro 'OFF'
enum Ds1307SqwPinMode { OFF = 0x00, ON = 0x80, SquareWave1HZ = 0x10, SquareWave4kHz = 0x11, SquareWave8kHz = 0x12, SquareWave32kHz = 0x13 }; - ^*
In file included from sketch_aug18a.ino:6:0:
C:\Program Files (x86)\Arduino\libraries\RTClib/RTClib.h:59:139: error: expected declaration before '}' token
enum Ds1307SqwPinMode { OFF = 0x00, ON = 0x80, SquareWave1HZ = 0x10, SquareWave4kHz = 0x11, SquareWave8kHz = 0x12, SquareWave32kHz = 0x13 };
Can anyone help me ? I really want to end this project and have fun with it !
Best regards
Jakub