Skip to content

Commit

Permalink
Merge pull request #17 from libdriver/dev
Browse files Browse the repository at this point in the history
docs: udpate README
  • Loading branch information
libdriver committed Feb 17, 2024
2 parents 3df5db4 + 13ea3f4 commit ad98c10
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ NTAG21x driver can refer to [https://github.com/libdriver/ntag21x](https://githu

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

Add /src, /interface and /example to your project.
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.

### Usage

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.
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.

#### example basic

Expand Down
4 changes: 2 additions & 2 deletions README_de.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ Den NTAG21x-Treiber finden Sie unter [https://github.com/libdriver/ntag21x](http

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

Fügen Sie /src, /interface und /example zu Ihrem Projekt hinzu.
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.

### Nutzung

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.
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.

#### example basic

Expand Down
2 changes: 1 addition & 1 deletion README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ NTAG21x ドライバーは、[https://github.com/libdriver/ntag21x](https://gith

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

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

### 使用

Expand Down
2 changes: 1 addition & 1 deletion README_ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ NTAG21x 드라이버는 [https://github.com/libdriver/ntag21x](https://github.co

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

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

### 사용

Expand Down
2 changes: 1 addition & 1 deletion README_zh-Hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ NTAG21x驱动可参考[https://github.com/libdriver/ntag21x](https://github.com/

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

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

### 使用

Expand Down
2 changes: 1 addition & 1 deletion README_zh-Hant.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ NTAG21x驅動可參攷[https://github.com/libdriver/ntag21x](https://github.com/

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

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

### 使用

Expand Down
2 changes: 1 addition & 1 deletion doc/html/driver__mfrc522__basic_8c_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@
<div class="line"><a name="l00999"></a><span class="lineno"> 999</span>&#160; <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>&#160; }</div>
<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>&#160; </div>
<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>
<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>&#160; <span class="comment">/* copy from mem to fifo buffer */</span></div>
<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160; out_len = 25;</div>
<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>
<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>&#160; <span class="keywordflow">if</span> (res != 0)</div>
Expand Down
2 changes: 1 addition & 1 deletion example/driver_mfrc522_basic.c
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ uint8_t mfrc522_basic_generate_random(uint8_t buf[25])
return 1;
}

/* copy from mem to fifo to buffer */
/* copy from mem to fifo buffer */
out_len = 25;
res = mfrc522_transceiver(&gs_handle, MFRC522_COMMAND_MEM, &in_buf, 0, buf, &out_len, &err, 1000);
if (res != 0)
Expand Down

0 comments on commit ad98c10

Please sign in to comment.