Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wada-jun8 authored Nov 28, 2024
1 parent 8b4f0b1 commit 84ed4ff
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ $ git clone https://github.com/JEISU20xx/robosys2024.git

## morseコマンド
### ✅️クイックスタート
クローン後、以下のコマンドで`hello,world`をモールス信号に変換できます。
クローン後、実行権限を付与し、以下のコマンドで`hello,world`をモールス信号に変換できます。
```
$ chmod +x morse
$ echo "hello,world" | ./morse
```
### 概要
Expand All @@ -35,12 +36,7 @@ $ echo "hello,world" | ./morse
|. |, |? |- |/ |@ | | | | |

### 実行方法
#### 方法1:実行後に文字を入力
```
$ python3 ./morse
$ hello,world
```
#### 方法2:実行権限を付与して実行
#### 方法1:実行権限を付与して実行
1\. 実行権限を付与
```
$ chmod +x morse
Expand All @@ -50,13 +46,13 @@ $ chmod +x morse
$ ./morse
$ hello,world
```
#### 方法3`echo``|(パイプ)`を使用する
#### 方法2`echo``|(パイプ)`を使用する
```
$ echo "hello,world" | ./morse
```
### 実行例
```
$ python3 ./morse
$ ./morse
$ hello,world
・・・・ ・ ・ー・・ ・ー・・ ーーー ーー・・ーー ・ーー ーーー ・ー・ ・ー・・ ー・・
```
Expand All @@ -68,7 +64,7 @@ $ echo "SOS" | ./morse
## 動作環境
### 必要なソフトウェア
- Python
- テスト済みバージョン3.7~3.12
- テスト済みバージョン3.7~3.12

### テスト環境
- Ubuntu 22.04 LTS
Expand Down

0 comments on commit 84ed4ff

Please sign in to comment.