Skip to content

Commit ad98c10

Browse files
authored
Merge pull request #17 from libdriver/dev
docs: udpate README
2 parents 3df5db4 + 13ea3f4 commit ad98c10

8 files changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ NTAG21x driver can refer to [https://github.com/libdriver/ntag21x](https://githu
5353

5454
Reference /interface IIC, SPI, UART platform independent template and finish your platform IIC, SPI, UART driver.
5555

56-
Add /src, /interface and /example to your project.
56+
Add the /src directory, the interface driver for your platform, and your own drivers to your project, if you want to use the default example drivers, add the /example directory to your project.
5757

5858
### Usage
5959

60-
You can refer to the examples in the/example directory to complete your own driver. If you want to use the default programming examples, here's how to use them.
60+
You can refer to the examples in the /example directory to complete your own driver. If you want to use the default programming examples, here's how to use them.
6161

6262
#### example basic
6363

README_de.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ Den NTAG21x-Treiber finden Sie unter [https://github.com/libdriver/ntag21x](http
5353

5454
Verweisen Sie auf eine plattformunabhängige IIC, SPI, UART-Schnittstellenvorlage und stellen Sie Ihren Plattform-IIC, SPI, UART-Treiber fertig.
5555

56-
Fügen Sie /src, /interface und /example zu Ihrem Projekt hinzu.
56+
Fügen Sie das Verzeichnis /src, den Schnittstellentreiber für Ihre Plattform und Ihre eigenen Treiber zu Ihrem Projekt hinzu. Wenn Sie die Standardbeispieltreiber verwenden möchten, fügen Sie das Verzeichnis /example zu Ihrem Projekt hinzu.
5757

5858
### Nutzung
5959

60-
Sie können auf die Beispiele im Verzeichnis/example zurückgreifen, um Ihren eigenen Treiber zu vervollständigen. Wenn Sie die Standardprogrammierbeispiele verwenden möchten, erfahren Sie hier, wie Sie diese verwenden.
60+
Sie können auf die Beispiele im Verzeichnis /example zurückgreifen, um Ihren eigenen Treiber zu vervollständigen. Wenn Sie die Standardprogrammierbeispiele verwenden möchten, erfahren Sie hier, wie Sie diese verwenden.
6161

6262
#### example basic
6363

README_ja.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ NTAG21x ドライバーは、[https://github.com/libdriver/ntag21x](https://gith
5353

5454
/ interfaceディレクトリにあるプラットフォームに依存しないIIC, SPI, UARTバステンプレートを参照して、指定したプラットフォームのIIC, SPI, UARTバスドライバを完成させます。
5555

56-
/ srcディレクトリ、/ interfaceディレクトリ、および/exampleディレクトリをプロジェクトに追加します
56+
/src ディレクトリ、プラットフォームのインターフェイス ドライバー、および独自のドライバーをプロジェクトに追加します。デフォルトのサンプル ドライバーを使用する場合は、/example ディレクトリをプロジェクトに追加します
5757

5858
### 使用
5959

README_ko.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ NTAG21x 드라이버는 [https://github.com/libdriver/ntag21x](https://github.co
5353

5454
/interface 디렉토리에서 플랫폼 독립적인 IIC, SPI, UART버스 템플릿을 참조하여 지정된 플랫폼에 대한 IIC, SPI, UART버스 드라이버를 완성하십시오.
5555

56-
/src 디렉토리, /interface 디렉토리 및 /example 디렉토리를 프로젝트에 추가하십시오.
56+
/src 디렉터리, 플랫폼용 인터페이스 드라이버 및 자체 드라이버를 프로젝트에 추가합니다. 기본 예제 드라이버를 사용하려면 /example 디렉터리를 프로젝트에 추가합니다.
5757

5858
### 사용
5959

README_zh-Hans.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ NTAG21x驱动可参考[https://github.com/libdriver/ntag21x](https://github.com/
5353

5454
参考/interface目录下与平台无关的IIC, SPI, UART总线模板,完成指定平台的IIC, SPI, UART总线驱动。
5555

56-
将/src目录,/interface目录和/example目录加入工程
56+
将/src目录,您使用平台的接口驱动和您开发的驱动加入工程,如果您想要使用默认的范例驱动,可以将/example目录加入您的工程
5757

5858
### 使用
5959

README_zh-Hant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ NTAG21x驅動可參攷[https://github.com/libdriver/ntag21x](https://github.com/
5252

5353
參考/interface目錄下與平台無關的IIC, SPI, UART總線模板,完成指定平台的IIC, SPI, UART總線驅動。
5454

55-
將/src目錄,/interface目錄和/example目錄加入工程
55+
將/src目錄,您使用平臺的介面驅動和您開發的驅動加入工程,如果您想要使用默認的範例驅動,可以將/example目錄加入您的工程
5656

5757
### 使用
5858

doc/html/driver__mfrc522__basic_8c_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@
10101010
<div class="line"><a name="l00999"></a><span class="lineno"> 999</span>&#160; <span class="keywordflow">return</span> 1;</div>
10111011
<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>&#160; }</div>
10121012
<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>&#160; </div>
1013-
<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>&#160; <span class="comment">/* copy from mem to fifo to buffer */</span></div>
1013+
<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>&#160; <span class="comment">/* copy from mem to fifo buffer */</span></div>
10141014
<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160; out_len = 25;</div>
10151015
<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>&#160; res = <a class="code" href="group__mfrc522__basic__driver.html#ga4ab84a690c7fd3d4e62c51e0a7c256b4">mfrc522_transceiver</a>(&amp;gs_handle, <a class="code" href="group__mfrc522__basic__driver.html#gga0b7985ebb8c6f5f5cb775e2fa383d2fbadaa1b62c2b80e90f8aabed47c2a35c63">MFRC522_COMMAND_MEM</a>, &amp;in_buf, 0, buf, &amp;out_len, &amp;err, 1000);</div>
10161016
<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>&#160; <span class="keywordflow">if</span> (res != 0)</div>

example/driver_mfrc522_basic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ uint8_t mfrc522_basic_generate_random(uint8_t buf[25])
999999
return 1;
10001000
}
10011001

1002-
/* copy from mem to fifo to buffer */
1002+
/* copy from mem to fifo buffer */
10031003
out_len = 25;
10041004
res = mfrc522_transceiver(&gs_handle, MFRC522_COMMAND_MEM, &in_buf, 0, buf, &out_len, &err, 1000);
10051005
if (res != 0)

0 commit comments

Comments
 (0)