mirror of
https://github.com/esphome/esphome.git
synced 2024-11-29 18:24:13 +01:00
Change beginning of file comments to avoid creating doxygen tag for esphome
namespace (#3314)
This commit is contained in:
parent
6b9371d105
commit
cf5c640ae4
2 changed files with 14 additions and 14 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "esphome/core/component.h"
|
||||||
|
#include "esphome/components/rc522/rc522.h"
|
||||||
|
#include "esphome/components/spi/spi.h"
|
||||||
|
|
||||||
|
namespace esphome {
|
||||||
/**
|
/**
|
||||||
* Library based on https://github.com/miguelbalboa/rfid
|
* Library based on https://github.com/miguelbalboa/rfid
|
||||||
* and adapted to ESPHome by @glmnet
|
* and adapted to ESPHome by @glmnet
|
||||||
|
@ -6,14 +13,6 @@
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "esphome/core/component.h"
|
|
||||||
#include "esphome/components/rc522/rc522.h"
|
|
||||||
#include "esphome/components/spi/spi.h"
|
|
||||||
|
|
||||||
namespace esphome {
|
|
||||||
namespace rc522_spi {
|
namespace rc522_spi {
|
||||||
|
|
||||||
class RC522Spi : public rc522::RC522,
|
class RC522Spi : public rc522::RC522,
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
/******************************************************************************
|
/*
|
||||||
sx1509_registers.h
|
sx1509_registers.h
|
||||||
Register definitions for SX1509.
|
Register definitions for SX1509.
|
||||||
Jim Lindblom @ SparkFun Electronics
|
Jim Lindblom @ SparkFun Electronics
|
||||||
Original Creation Date: September 21, 2015
|
Original Creation Date: September 21, 2015
|
||||||
https://github.com/sparkfun/SparkFun_SX1509_Arduino_Library
|
https://github.com/sparkfun/SparkFun_SX1509_Arduino_Library
|
||||||
|
*/
|
||||||
|
#pragma once
|
||||||
|
|
||||||
Here you'll find the Arduino code used to interface with the SX1509 I2C
|
namespace esphome {
|
||||||
|
/**
|
||||||
|
Here you'll find the Arduino code used to interface with the SX1509 I2C
|
||||||
16 I/O expander. There are functions to take advantage of everything the
|
16 I/O expander. There are functions to take advantage of everything the
|
||||||
SX1509 provides - input/output setting, writing pins high/low, reading
|
SX1509 provides - input/output setting, writing pins high/low, reading
|
||||||
the input value of pins, LED driver utilities (blink, breath, pwm), and
|
the input value of pins, LED driver utilities (blink, breath, pwm), and
|
||||||
|
@ -20,10 +24,7 @@ This code is beerware; if you see me (or any other SparkFun employee) at the
|
||||||
local, and you've found our code helpful, please buy us a round!
|
local, and you've found our code helpful, please buy us a round!
|
||||||
|
|
||||||
Distributed as-is; no warranty is given.
|
Distributed as-is; no warranty is given.
|
||||||
******************************************************************************/
|
*/
|
||||||
#pragma once
|
|
||||||
|
|
||||||
namespace esphome {
|
|
||||||
namespace sx1509 {
|
namespace sx1509 {
|
||||||
|
|
||||||
const uint8_t REG_INPUT_DISABLE_B =
|
const uint8_t REG_INPUT_DISABLE_B =
|
||||||
|
|
Loading…
Reference in a new issue