Skip to content

Commit c08f117

Browse files
authored
Update README.md
1 parent af66a12 commit c08f117

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,19 @@ This NFC sensor uses I2C to communicate.
99
It creates the instance st25dv.
1010

1111
It is then required to call begin API with the 2 pins to be used before accessing to the sensors, and optionally wire instance:
12-
` st25dv->begin(gpo_pin, lpd_pin);`
13-
or
12+
```cpp
13+
st25dv->begin(gpo_pin, lpd_pin);
1414
```
15+
or
16+
```cpp
1517
TwoWire MyWire(SDA_PIN, SCL_PIN);
1618
st25dv->begin(gpo_pin, lpd_pin, MyWire);
1719
```
1820

1921

2022
It is then possible to read/write NFC URI:
2123

22-
```
24+
```cpp
2325
int writeURI(String protocol, String uri, String info);
2426
String readURI();
2527
```
@@ -30,6 +32,6 @@ It is then possible to read/write NFC URI:
3032
You can find the source files at
3133
https://github.com/stm32duino/ST25DV
3234
33-
The ST25DV datasheets are available at
34-
https://www.st.com/content/st_com/en/products/nfc/st25-nfc-rfid-tags-readers/st25-dynamic-nfc-tags/st25dv-i2c-series-dynamic-nfc-tags/st25dv04k.html
35-
https://www.st.com/content/st_com/en/products/nfc/st25-nfc-rfid-tags-readers/st25-dynamic-nfc-tags/st25dv-i2c-series-dynamic-nfc-tags/st25dv64k.html
35+
The ST25DV datasheets are available at:
36+
* https://www.st.com/content/st_com/en/products/nfc/st25-nfc-rfid-tags-readers/st25-dynamic-nfc-tags/st25dv-i2c-series-dynamic-nfc-tags/st25dv04k.html
37+
* https://www.st.com/content/st_com/en/products/nfc/st25-nfc-rfid-tags-readers/st25-dynamic-nfc-tags/st25dv-i2c-series-dynamic-nfc-tags/st25dv64k.html

0 commit comments

Comments
 (0)