Browse Source

modified: README.md

Satoshi Yoneda 5 ngày trước cách đây
mục cha
commit
bcefec8cd6
3 tập tin đã thay đổi với 26 bổ sung4 xóa
  1. 1 0
      README.md
  2. 21 0
      TM1637_pio/LICENSE.md
  3. 4 4
      TM1637_pio/README.md

+ 1 - 0
README.md

@@ -14,6 +14,7 @@
 
 |サンプル|書籍掲載章|
 |:----|:-----:|
+|[TM1637_pio/](https://future.quake4.jp/gogs/yoneda/C_Book_Examples/src/master/TM1637_pio)| 付録(おまけコンテンツ)|
 |[adc_dma_sample/](https://future.quake4.jp/gogs/yoneda/C_Book_Examples/src/master/adc_dma_sample)| 第6章リスト3|
 |[adc_sample/](https://future.quake4.jp/gogs/yoneda/C_Book_Examples/src/master/adc_sample)| 第6章リスト2|
 |[i2c_slave_sample/](https://future.quake4.jp/gogs/yoneda/C_Book_Examples/src/master/i2c_slave_sample)| 第7章リスト7|

+ 21 - 0
TM1637_pio/LICENSE.md

@@ -0,0 +1,21 @@
+# MIT License
+
+Copyright (c) 2025 Satoshi Yoneda
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

+ 4 - 4
TM1637_pio/README.md

@@ -74,7 +74,7 @@ your_project/
 
 ## API リファレンス
 
-### `TM1637_t *TM1637_init(uint8_t sda_base_pin, uint8_t col, uint8_t cont)`
+#### `TM1637_t *TM1637_init(uint8_t sda_base_pin, uint8_t col, uint8_t cont)`
 
 TM1637を初期化し成功すればハンドルを返す
 
@@ -87,7 +87,7 @@ TM1637を初期化し成功すればハンドルを返す
 
  - 初期化に成功するとハンドル(TM1638_tのポインタ)を返す。NULLは失敗。
 
-### `int TM1637_set_contrast(TM1637_t *p, uint8_t cont)`
+#### `int TM1637_set_contrast(TM1637_t *p, uint8_t cont)`
 
 コントラスト値を設定する
 
@@ -100,7 +100,7 @@ TM1637を初期化し成功すればハンドルを返す
 
   - 成功したら0
 
-### `int TM1637_putchar(TM1637_t *p, char c, bool dot, uint8_t col)`
+#### `int TM1637_putchar(TM1637_t *p, char c, bool dot, uint8_t col)`
 
 文字を表示
 
@@ -114,7 +114,7 @@ TM1637を初期化し成功すればハンドルを返す
 
  - 成功したら0
 
-### `int TM1637_putstr(TM1637_t *t, char *str)`
+#### `int TM1637_putstr(TM1637_t *t, char *str)`
 
 文字列を表示する