Skip to content

Commit c08f3da

Browse files
authored
Merge pull request #20 from arduino-libraries/umbrella-header
Add umbrella header file that matches lib name
2 parents f880fed + 0888c22 commit c08f3da

File tree

4 files changed

+31
-3
lines changed

4 files changed

+31
-3
lines changed

examples/BasicUsage/BasicUsage.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Demonstrate basic library usage.
33
*/
44

5-
#include <Arduino_PMIC.h>
5+
#include <Arduino_PF1550.h>
66

77
void setup() {
88
PMIC.begin();

examples/C33-Low-Power/C33-Low-Power.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Test low power capability of Portenta C33.
33
*/
44

5-
#include <Arduino_PMIC.h>
5+
#include <Arduino_PF1550.h>
66

77
#include <Wire.h>
88

examples/ReadWriteRegs/ReadWriteRegs.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Read and write some registers from the PF1550 PMIC.
33
*/
44

5-
#include <Arduino_PMIC.h>
5+
#include <Arduino_PF1550.h>
66

77
//#define Serial Serial1
88

src/Arduino_PF1550.h

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/*
2+
Copyright (c) 2019 Arduino. All right reserved.
3+
4+
This library is free software; you can redistribute it and/or
5+
modify it under the terms of the GNU Lesser General Public
6+
License as published by the Free Software Foundation; either
7+
version 2.1 of the License, or (at your option) any later version.
8+
9+
This library is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12+
See the GNU Lesser General Public License for more details.
13+
14+
You should have received a copy of the GNU Lesser General Public
15+
License along with this library; if not, write to the Free Software
16+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17+
*/
18+
19+
#ifndef ARDUINO_PF1550_H
20+
#define ARDUINO_PF1550_H
21+
22+
/******************************************************************************
23+
INCLUDE
24+
******************************************************************************/
25+
26+
#include "PF1550.h"
27+
28+
#endif /* ARDUINO_PF1550_H */

0 commit comments

Comments
 (0)