Skip to content

Commit d71398c

Browse files
author
Jim Lindblom
committed
Updating file and library names to match SparkFun guidelines
1 parent 0686a77 commit d71398c

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

examples/sx1509_digitalReadWrite/sx1509_digitalReadWrite.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
*/
5050

5151
#include <Wire.h> // Wire.h library is required to use SX1509 lib
52-
#include <sx1509_library.h> // Include the SX1509 library
52+
#include <SparkFunSX1509.h> // Include the SX1509 library
5353

5454
// Uncomment one of the four lines to match your SX1509's address
5555
// pin selects. SX1509 breakout defaults to [0:0] (0x3E).

examples/sx1509_interruptDebounce/sx1509_interruptDebounce.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
*/
4444

4545
#include <Wire.h> // Wire.h library is required to use SX1509 lib
46-
#include <sx1509_library.h> // Include the SX1509 library
46+
#include <SparkFunSX1509.h> // Include the SX1509 library
4747

4848
// Uncomment one of the four lines to match your SX1509's address
4949
// pin selects. SX1509 breakout defaults to [0:0] (0x3E).

examples/sx1509_keypad/sx1509_keypad.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
*/
4343

4444
#include <Wire.h> // Wire.h library is required to use SX1509 lib
45-
#include <sx1509_library.h> // Include the SX1509 library
45+
#include <SparkFunSX1509.h> // Include the SX1509 library
4646

4747
// Uncomment one of the four lines to match your SX1509's address
4848
// pin selects. SX1509 breakout defaults to [0:0] (0x3E).

examples/sx1509_ledDriver/sx1509_ledDriver.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
*/
4444

4545
#include <Wire.h> // Wire.h library is required to use SX1509 lib
46-
#include <sx1509_library.h> // Include the SX1509 library
46+
#include <SparkFunSX1509.h> // Include the SX1509 library
4747

4848
// Uncomment one of the four lines to match your SX1509's address
4949
// pin selects. SX1509 breakout defaults to [0:0] (0x3E).

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name=SX1509 IO Expander
1+
name=SparkFun SX1509 I/O Expander
22
version=1.0.0
33
author=SparkFun Electronics
44
maintainer=SparkFun Electronics

src/sx1509_library.cpp renamed to src/SparkFunSX1509.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
#include <Wire.h>
2727
#include "Arduino.h"
28-
#include "sx1509_library.h"
29-
#include "sx1509_includes/sx1509_registers.h"
28+
#include "SparkFunSX1509.h"
29+
#include "util/sx1509_registers.h"
3030

3131
sx1509Class::sx1509Class(byte address, byte resetPin, byte interruptPin, byte oscillatorPin)
3232
{

src/sx1509_library.h renamed to src/SparkFunSX1509.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
#include "Arduino.h"
2727

28-
#ifndef sx1509_library_H
29-
#define sx1509_library_H
28+
#ifndef SparkFunSX1509_H
29+
#define SparkFunSX1509_H
3030

3131
#define RECEIVE_TIMEOUT_VALUE 1000 // Timeout for I2C receive
3232

File renamed without changes.

0 commit comments

Comments
 (0)