Skip to content

Commit

Permalink
Modified library to use 1.5r2 library specification.
Browse files Browse the repository at this point in the history
This makes use of the 'src' folder and the source has been modified to
reflect the new file structure.
  • Loading branch information
Chris--A committed Jul 13, 2015
1 parent 62a9757 commit ce1625b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 14 deletions.
File renamed without changes.
7 changes: 1 addition & 6 deletions utility/Key.h → src/Key.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,7 @@
#ifndef KEY_H
#define KEY_H

// Arduino versioning.
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h" // for digitalRead, digitalWrite, etc
#else
#include "WProgram.h"
#endif
#include <Arduino.h>

#define OPEN LOW
#define CLOSED HIGH
Expand Down
File renamed without changes.
9 changes: 1 addition & 8 deletions Keypad.h → src/Keypad.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,7 @@
#ifndef KEYPAD_H
#define KEYPAD_H

#include "utility/Key.h"

// Arduino versioning.
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "Key.h"

// bperrybap - Thanks for a well reasoned argument and the following macro(s).
// See http://arduino.cc/forum/index.php/topic,142041.msg1069480.html#msg1069480
Expand Down

0 comments on commit ce1625b

Please sign in to comment.