Skip to content

Commit

Permalink
Initial spectrum commit
Browse files Browse the repository at this point in the history
This is a work in progress and not fully functional.
  • Loading branch information
xawen authored and reppad committed Nov 27, 2023
1 parent 7e3d215 commit e76b03e
Show file tree
Hide file tree
Showing 10 changed files with 629 additions and 3 deletions.
Binary file added Images/SpectrumDisplay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MOTO_STARTUP_TONE := 1
ENABLE_AM_FIX := 1
ENABLE_LTO := 0
ENABLE_NOAA := 1
ENABLE_SPECTRUM := 1

OBJS =
# Startup files
Expand Down Expand Up @@ -43,6 +44,9 @@ OBJS += app/fm.o
OBJS += app/lock.o
OBJS += app/menu.o
OBJS += app/radio.o
ifeq ($(ENABLE_SPECTRUM), 1)
OBJS += app/spectrum.o
endif
OBJS += app/t9.o
OBJS += app/uart.o

Expand Down Expand Up @@ -170,6 +174,9 @@ endif
ifeq ($(ENABLE_NOAA),1)
CFLAGS += -DENABLE_NOAA
endif
ifeq ($(ENABLE_SPECTRUM), 1)
CFLAGS += -DENABLE_SPECTRUM
endif

all: $(TARGET)
$(OBJCOPY) -O binary $< $<.bin
Expand Down
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,27 @@ Scanning:
- To force the scan to resume when the scanner stops on a signal, use the `up`/`down` keys.
- Press any key other than `Freq scanner` to stop scanning.


### Spectrum Key Mappings
```
Up => Normal: Increase frequency range by frequency +/- (number in middle of bottom row)
Holding on a frequency: Move up to the next frequency
Down => Normal: Decrease frequency range by frequency +/- (number in middle of bottom row)
Holding on a frequency: Move down to the previous frequency
1 => Change number of scan steps (16, 32, 64 or 128)
2 =>
3 => Change modulation (AM, FM or SSB)
4 => Change step size (0.25k - 50k)
5 =>
6 => Inrease squelch level
7 => Hold on current frequency
8 =>
9 => Decrease squelch level
0 => Toggle filter (U = unfiltered, F = filtered)
* => Change scan delay (0 - 40ms)
# => Toggle bandwidth (W = wide, N = narrow)
Menu => Jump to VFO mode with current frequency and settings (to allow TX)
Exit => Exit spectrum
```

## Update Instructions
### SPI memory backup
Expand All @@ -81,6 +101,10 @@ ENABLE_LTO => Link Time Optimization
ENABLE_NOAA => NOAA weather channels (always re-set the sidekeys actions from menu after modifying the available actions)
```

<p float="left">
<img src="/Images/SpectrumDisplay.png" height=300 />
</p>

### Build & Flash
See __Compiler__, __Building__ and __Flashing__ sections below.

Expand Down
Loading

0 comments on commit e76b03e

Please sign in to comment.