Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Update makefile usage.
  • Loading branch information
aricwang88 authored Mar 7, 2017
1 parent c04fafe commit fde8e49
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,20 @@ libav-tools - Multimedia player, server, encoder and transcoder
apt-get install libav-tools
avconv -i mm_didu.mp3 -acodec pcm_s16le -ac 2 -ar 44100 -vol 200 out.wav
mv out.wav MM_didu.wav
avconv -i mm_didu.mp3 -acodec pcm_s16le -ac 2 -ar 44100 -vol 200 MM_didu.wav
```

# Compliation
```
gcc -o HACKRF_WBFM_Transmit HackRF_WBFM_Transmit.c -lm -lhackrf
or
make
make wav
```
Now we got HACKRF_WBFM_Transmit.
```
Expand All @@ -38,7 +43,8 @@ Usage:./HACKRF_WBFM_Transmit <WAV File Abs Path>
```

# Verification
I also upload the test wave file.
I also upload the test wave file, please clone from other repository or convert from mp3 by ffmpeg.

```
./HACKRF_WBFM_Transmit MM_didu.wav
Expand Down

0 comments on commit fde8e49

Please sign in to comment.