DiSlord
21f87e8f3c
Fix bug
5 years ago
DiSlord
ca6d982271
UI cleanup
5 years ago
DiSlord
635f4ffd59
Use UI_FUNCTION_ADV_CALLBACK for menu_harmonic
...
More cleanup
5 years ago
DiSlord
fd831b5f96
Next step for UI mod:
...
Cleanup UI code
In most cases use UI_FUNCTION_ADV_CALLBACK for mod menu settings
Add Auto/Manual icon
Fix some bugs
5 years ago
DiSlord
167a7f1069
Move check box icon at right side of button
5 years ago
DiSlord
8900f87160
Initial iteration of 3d button UI
5 years ago
DiSlord
326ec09f0f
Enable fullscreen 3d keyboard
6 years ago
DiSlord
cb3b0af6ee
Code cleanup
...
Add base definition for menu callback and adv_callback functions
adv_callback - allow more better mod menu draw and process in one place (less error and less code size)
6 years ago
erikkaashoek
fd3d78e96d
Remove some unused menu's
6 years ago
DiSlord
815dff4b48
Allow add values to button label
...
Implement some examples for this
This feature allow made more easy and safe button and save a lot of flash size
6 years ago
DiSlord
7d1126a03c
Fix wrong text align
6 years ago
DiSlord
72ab183296
UI draw update
...
>Multiline text - now possible output multiline in one print (for 2 line buttons for example)
>But syntax is "1_line_text\n2_line_text" possible 3 line and bigger (need only more bigger height for output)
6 years ago
DiSlord
f9803e4d4f
ui code cleanup and simplify
6 years ago
DiSlord
3f71a176d3
More simple keyboard data
6 years ago
DiSlord
8f2bcc0d73
Cleanup non cell area under button on exit
6 years ago
DiSlord
588c69442f
not need display menu on keyboard input (so add really full screen keyboard)
...
move size definitions to header
6 years ago
DiSlord
6833ea601a
Fix waterfall for 145 points
...
Prepare for 3d buttons update (fix keyboard draw buttons)
6 years ago
erikkaashoek
8c647daf12
Repair error on vbwSteps in precise mode
6 years ago
erikkaashoek
62b2751754
Autosave touch cal
6 years ago
DiSlord
62c80c8668
Touch fixes, and optimization
6 years ago
DiSlord
800fa5ea66
Not redraw menu then need step back and leave ui
6 years ago
DiSlord
29fe6898ed
Simply redraw on menu walk
6 years ago
erikkaashoek
e373239447
Revert "Revert "Use average (count = 8) for all ADC measure (include battery)""
...
This reverts commit b0bbe71747 .
6 years ago
erikkaashoek
b0bbe71747
Revert "Use average (count = 8) for all ADC measure (include battery)"
...
This reverts commit aea7761a55 .
6 years ago
DiSlord
aea7761a55
Use average (count = 8) for all ADC measure (include battery)
6 years ago
DiSlord
6501c3dd74
Better responsive touch, also use averaging for touch X/Y read
...
Define and use ADC channels name (for easy use on another boards)
6 years ago
DiSlord
e731ae0a0e
Full screen keyboard
6 years ago
DiSlord
f72d4975ae
redraw freq on screen update for leave_ui_mode
6 years ago
DiSlord
a89a93360b
Bigger text for DFU
6 years ago
DiSlord
7245722343
Fix error on menu walk up from leveler if some menu items disabled (example in HI output modulation select menu)
...
Also now more easy disable some menu items (only in menuDisabled need add rule)
Add delay then walk in menu
More compact code
6 years ago
DiSlord
eca14f8e3c
Small code optimization (less size) in marker move from leveler
...
Now step increase every 4 step on one
6 years ago
erikkaashoek
311d0bda42
Massive sweep time redesign
6 years ago
erikkaashoek
acf2e93401
Add high mode specific attenuation menu
6 years ago
DiSlord
1dde3bd245
Remove more not need full screen redraw, more faster screen update in some cases
6 years ago
DiSlord
11c5938807
Change use time from float to uint32 type
...
Now time settings stored as uSec value
6 years ago
DiSlord
425221aa10
Use better button input debounce and input process (this used in last NanoVNA firmwares) more compact and simple
...
Replace POINTS_COUNT to sweep_points this more correct
6 years ago
DiSlord
d4044808e8
Add waterfall palette (not used by default) for enable need #define _USE_WATERFALL_PALETTE in nanovna.h (more info see in waterfall.c)
...
Add gradient calculation for waterfall (enabled by default)
Now HEIGHT = (GRIDY*NGRIDY), GRIDY variable integer value and depend from render area height
It allow save size and more better align render area
More constants fixes for 4`display
Fix full screen redraw on menu back or select next
6 years ago
erikkaashoek
0a24a6e37b
Prepare for 4 inch display
6 years ago
erikkaashoek
4a2c18e98c
Selftest error screens can be captured
6 years ago
DiSlord
cfb21b2f5d
Move (and add new) some menu size variables to nanovna.h
...
Better use this values and font size for draw menu buttons
Increase right menu button width from 60 to 70
Decrease menu button height from 30 to 28
6 years ago
erikkaashoek
61cc1dc843
Remote control improvements
6 years ago
erikkaashoek
3db1738e0b
Change to levelchange and sweeptime cmd added
6 years ago
erikkaashoek
2c3a268c47
Levelsweep warp error and show UI after cmd mode switch
6 years ago
erikkaashoek
88a9a0a866
Add output and f cmd and repair TIME status mismatch in high mode
6 years ago
erikkaashoek
4e40b69e63
Repaired jog switch control of span
6 years ago
erikkaashoek
9a8a1558ee
Various UI improvements
6 years ago
erikkaashoek
3b61c73a11
Replace LCD size constants
6 years ago
erikkaashoek
c136d58853
output default off, help text improved, use %.3F format
6 years ago
erikkaashoek
76bb2d59dc
UI errors corrected and some code squeeze
6 years ago
erikkaashoek
77f8938edd
Many small ui updates
6 years ago
erikkaashoek
7f0efbfdf9
Scale entry and trace command afapted
6 years ago
erikkaashoek
492fbbed7f
Scaling linear units implemented
6 years ago
erikkaashoek
3493e82d83
Small ui corrections
6 years ago
erikkaashoek
c0e152f6c0
Small UI improvements and additional units
6 years ago
erikkaashoek
29821f98de
New menu working
6 years ago
erikkaashoek
ca9f856c1e
Trial for low mode only meny options
6 years ago
erikkaashoek
2898c02d36
Load/Store of settings added
6 years ago
erikkaashoek
aa6c062341
Modify marker menu created adn ADF4351 core added
6 years ago
erikkaashoek
8bffd8ba36
Added harmonic mixer
6 years ago
erikkaashoek
2d22122256
Help text for numeric input added
6 years ago
erikkaashoek
a6b9e48921
Waterfall improvement and extra measurements
6 years ago
erikkaashoek
5b661b9093
Hangup in offset keypad solved
6 years ago
erikkaashoek
1a2664943f
Many marker and measurement related updates
6 years ago
erikkaashoek
e749f7f8ac
ICON experiment
6 years ago
erikkaashoek
df524ed289
Binary search in spur table
6 years ago
erikkaashoek
c1a266e16e
Stop marker span confusion
6 years ago
erikkaashoek
5f3aed5844
Menu structure adapted
6 years ago
erikkaashoek
6ae3ef9019
Prepare for 8 menu buttons
6 years ago
erikkaashoek
01a665f306
Powerlevels, spur table and marker menu update
6 years ago
erikkaashoek
7d64766513
Optimize stack usage by shifting test and calibrate to lowest level
6 years ago
erikkaashoek
62e0120f22
Measurements working
6 years ago
erikkaashoek
ca687ea11b
Intermediate commit on UI change
6 years ago
erikkaashoek
bd50a9d3e5
Small bug fixes
6 years ago
erikkaashoek
0a03ff0a2f
Added full marker tracking
6 years ago
erikkaashoek
c40a01f22a
Large value text
6 years ago
erikkaashoek
4683b88d0c
Menu update
6 years ago
erikkaashoek
ae326020e3
Merge branch 'master' into tinySA
6 years ago
erikkaashoek
8631ac14f1
Atampt to auto scaling and other UI improvements
6 years ago
erikkaashoek
bab7701458
Large buttons and mode switching improvements
6 years ago
erikkaashoek
8dcf6a6b59
Force top level menu on screen
6 years ago
erikkaashoek
8989861112
3D buttons
6 years ago
erikkaashoek
4ffb6072b7
Capture working with DMA, waterfall still hangs
6 years ago
erikkaashoek
9c129b1310
Output modulation added
6 years ago
erikkaashoek
9fb0638def
Full screen mode menu
6 years ago
erikkaashoek
1105264089
Input forms working
6 years ago
erikkaashoek
f2137f4f97
All except waterfall working
6 years ago
erikkaashoek
4353721ec5
First running port
6 years ago
TT
1656342eeb
feat: add bandwidth setting of detector
6 years ago
TT
0d407577f8
style: uniform code style and untabify
6 years ago
DiSlord
3eb8a4cfe9
Fix interpolation range if sweep_points!=source calibration points count
...
use sweep_points exept POINTS_COUNT on marker search and so
Now possible change sweep_points in process (for faster sweep)
6 years ago
DiSlord
8bdb650212
Implement color command, allow change color settings in config (enabled bu default ENABLE_COLOR_COMMAND)
...
Usage: usage: color {id} {rgb24}
- Grid color: id = -3
- Menu bg color: id = -2
- Selected menu: id = -1
- Trace 1-4: id = 0..3
Color in hex RGB format (but possible any type input, dec, hex, bin. oct)
6 years ago
DiSlord
6f25d0d43f
Remove Mutex use (CH_CFG_USE_MUTEXES = FALSE), now all Mutex depend functions run in sweep thread
...
It allow:
- reduce shell thread stack size
- more compact code
- fix some hardcoded scan command code, allow write better scan version
- run calibrate (not depend from pause sweep flag)
Rewrite uint32_t my_atoui(const char *p), now its allow read:
hex 0xaAbBcC1122
dec 12345678
bin 0b00011100
oct 0o12345678
Add some comments
6 years ago
DiSlord
10ae59e786
Little cleanup
6 years ago
DiSlord
eebb625b9d
Always update marker info
6 years ago
DiSlord
45f04420cb
Implement info command, move info_about[] to main.c
...
Command enabled by default: ENABLE_INFO_COMMAND
This feature not increase flash size
6 years ago
DiSlord
fc6e090595
Add vbat_offset to config
...
Implement vbat_offset command (if defined ENABLE_VBAT_OFFSET_COMMAND)
Reduce code size
6 years ago
DiSlord
bb7127fdd0
Remove variable, use speep_mode flag
6 years ago
DiSlord
12d53738bc
Revert some changes:
...
Start/stop generation feature (unstable on segment scan from CPU)
Calibration on paused sweep (need more stack, need find better solution)
Variable use optimization
6 years ago
DiSlord
a43b6e3acc
si5351.c and si5351.h
...
Cleanup and optimize code
Add comments, fix definitions
Fix rounding errors
Fix band 1 stability
mcuconf.h
Set I2C bus clock to SYSCLK (more fast)
Apply 400kHz bus I2C clock timings for 8MHz and 48Mhz clock
main.c
Remove and reset some variables
Add separate sweep for calibration (allow calibrate if sweep paused)
Increase main thread stack (need for run calibrate, possibly need execute some commands in sweep threads for reduce stack usage)
6 years ago
DiSlord
b77e1d6680
Big work around si5351 generator
...
Improve sweep speed about 60%
Stop generation on pause sweep
Remove all hack for si5351
Reduce code size
Fix integer overflow on big freq values
Additional
Change I2C
Others:
move marker_tracking variable to ui config
move some definition to correct place
reduce tlv320aic3204 code size
Speedup marker move from lever (BUTTON_REPEAT_TICKS = 625)
Need test stability
6 years ago