X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/422088690f8c39ae35384a549b571ba3fea22a4b..93c512316922dde3edd28eb8388b7abcdf0174ec:/drivers/sensors/pn532/pn532_bus.h diff --git a/drivers/sensors/pn532/pn532_bus.h b/drivers/sensors/pn532/pn532_bus.h index a322933..1628bc5 100644 --- a/drivers/sensors/pn532/pn532_bus.h +++ b/drivers/sensors/pn532/pn532_bus.h @@ -10,8 +10,8 @@ #include "projectconfig.h" #include "pn532.h" -// #define PN532_BUS_UART -#define PN532_BUS_I2C +#define PN532_BUS_UART +// #define PN532_BUS_I2C #define PN532_RSTPD_PORT (2) #define PN532_RSTPD_PIN (2) @@ -25,6 +25,7 @@ #define PN532_BUFFER_LEN (PN532_EXTENDED_FRAME__DATA_MAX_LEN + PN532_EXTENDED_FRAME__OVERHEAD) #define PN532_UART_BAUDRATE (115200) + #define PN532_I2C_ADDRESS (0x48) #define PN532_I2C_READBIT (0x01)