Skip to content

Commit

Permalink
last try blocking @Exampli in ci.
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Buer <[email protected]>
  • Loading branch information
Erik Buer committed Oct 13, 2024
1 parent 8dcb15e commit fae71e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/src/Examples/receiver.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ DocTestSetup = :(ENV["LOCAL"] == "true")
```

```@example Receiver
:eval = ENV["LOCAL"] == "true"
using ..BladeRF
using DSP
using Plots
Expand Down Expand Up @@ -44,6 +46,8 @@ BladeRF.set_gain(radioBoard, 0, 30)
Now we have configured the receiver, and it's time to setup the sampling.

```@example Receiver
:eval = ENV["LOCAL"] == "true"
sample_format = BladeRF.BLADERF_FORMAT_SC16_Q11
num_samples = 4096
Expand Down Expand Up @@ -98,6 +102,7 @@ normalized_samples = Complex{Float32}.(complex_samples) ./ 2048.0
We have now sucsessully sampled with the radio. To verify the samples, lets plot its Power Spectral Density (PSD).

```@example Receiver
:eval = ENV["LOCAL"] == "true"
pgram = periodogram(normalized_samples, onesided=false, fs=actual_rate_Hz)
Expand Down

0 comments on commit fae71e8

Please sign in to comment.