File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Raspberry_Pi_PiPyPirate_Radio Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change
1
+ // SPDX - FileCopyrightText : 2023 Carter N . for Adafruit Industries
2
+ // SPDX - License - Identifier : MIT
3
+
1
4
import board
2
5
import digitalio
3
6
import adafruit_si4713
12
15
for f_khz in range (87500 , 108000 , 50 ):
13
16
noise = radio .received_noise_level (f_khz )
14
17
fp .write ("{},{}\n " .format (f_khz / 1000.0 , noise ))
15
- print ('{0:0.3f} mhz = {1} dBuV' .format (f_khz / 1000.0 , noise ))
18
+ print ('{0:0.3f} mhz = {1} dBuV' .format (f_khz / 1000.0 , noise ))
Original file line number Diff line number Diff line change
1
+ // SPDX - FileCopyrightText : 2023 Carter N . for Adafruit Industries
2
+ // SPDX - License - Identifier : MIT
3
+
1
4
import time
2
5
import board
3
6
import digitalio
@@ -130,5 +133,3 @@ def update_display():
130
133
if now - last_update > UPDATE_RATE :
131
134
update_display ()
132
135
last_update = now
133
-
134
-
You can’t perform that action at this time.
0 commit comments