Skip to content

Commit 3556e74

Browse files
committed
Use correct include syntax
Angle brackets for external includes. Quotes for internal includes. The former is not critical but the latter is necessary in order to use the library bundled with a sketch, where Adafruit_PWMServoDriver.h will not be found in the include search path.
1 parent 8731561 commit 3556e74

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Adafruit_PWMServoDriver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
BSD license, all text above must be included in any redistribution
1616
****************************************************/
1717

18-
#include <Adafruit_PWMServoDriver.h>
18+
#include "Adafruit_PWMServoDriver.h"
1919
#include <Wire.h>
2020

2121
// Set to true to print some debug messages, or false to disable them.

Adafruit_PWMServoDriver.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
#define _ADAFRUIT_PWMServoDriver_H
2020

2121
#if ARDUINO >= 100
22-
#include "Arduino.h"
22+
#include <Arduino.h>
2323
#else
24-
#include "WProgram.h"
24+
#include <WProgram.h>
2525
#endif
26-
#include "Wire.h"
26+
#include <Wire.h>
2727

2828
#define PCA9685_SUBADR1 0x2
2929
#define PCA9685_SUBADR2 0x3

0 commit comments

Comments
 (0)