mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Pn532 upgrades (#1302)
* Move pn532 -> pn532_spi Add pn532_i2c * Update i2c address * Always wait for ready byte before reading * Generalise the pn532 a bit more so less code in i2c and spi implementations * clang * Add pn532_i2c to test1 * Try to get setup working * Fixes * More updates * Command consts * A few upgrades * Change text back to include 'new' * Fix data reading
This commit is contained in:
@@ -1645,7 +1645,7 @@ remote_receiver:
|
||||
status_led:
|
||||
pin: GPIO2
|
||||
|
||||
pn532:
|
||||
pn532_spi:
|
||||
cs_pin: GPIO23
|
||||
update_interval: 1s
|
||||
on_tag:
|
||||
@@ -1655,6 +1655,8 @@ pn532:
|
||||
topic: the/topic
|
||||
payload: !lambda 'return x;'
|
||||
|
||||
pn532_i2c:
|
||||
|
||||
rdm6300:
|
||||
|
||||
rc522_spi:
|
||||
|
Reference in New Issue
Block a user