File tree Expand file tree Collapse file tree
Raspberry_Pi_PiPyPirate_Radio Expand file tree Collapse file tree 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+
14import board
25import digitalio
36import adafruit_si4713
1215 for f_khz in range (87500 , 108000 , 50 ):
1316 noise = radio .received_noise_level (f_khz )
1417 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+
14import time
25import board
36import digitalio
@@ -130,5 +133,3 @@ def update_display():
130133 if now - last_update > UPDATE_RATE :
131134 update_display ()
132135 last_update = now
133-
134-
You can’t perform that action at this time.
0 commit comments