Skip to content

Commit

Permalink
Merge pull request #20 from arduino-libraries/umbrella-header
Browse files Browse the repository at this point in the history
Add umbrella header file that matches lib name
  • Loading branch information
sebromero authored Dec 12, 2023
2 parents f880fed + 0888c22 commit c08f3da
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/BasicUsage/BasicUsage.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Demonstrate basic library usage.
*/

#include <Arduino_PMIC.h>
#include <Arduino_PF1550.h>

void setup() {
PMIC.begin();
Expand Down
2 changes: 1 addition & 1 deletion examples/C33-Low-Power/C33-Low-Power.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Test low power capability of Portenta C33.
*/

#include <Arduino_PMIC.h>
#include <Arduino_PF1550.h>

#include <Wire.h>

Expand Down
2 changes: 1 addition & 1 deletion examples/ReadWriteRegs/ReadWriteRegs.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Read and write some registers from the PF1550 PMIC.
*/

#include <Arduino_PMIC.h>
#include <Arduino_PF1550.h>

//#define Serial Serial1

Expand Down
28 changes: 28 additions & 0 deletions src/Arduino_PF1550.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
Copyright (c) 2019 Arduino. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef ARDUINO_PF1550_H
#define ARDUINO_PF1550_H

/******************************************************************************
INCLUDE
******************************************************************************/

#include "PF1550.h"

#endif /* ARDUINO_PF1550_H */

0 comments on commit c08f3da

Please sign in to comment.