Commit Graph

32 Commits

Author SHA1 Message Date
Chuck
3d662baf54 Stocks (#2)
* Opening Bell

Introducing the Stock Ticker Feature

* Update stock_manager.py

Assume folder exists

* Update stock_manager.py

removing logos to focus on function for now

* Update stock_manager.py

parse yahoo scripts

* Update stock_manager.py

stock query update

* Update stock_manager.py

slow down stock display

* Update display_controller.py

adjust screen flow

* Update stock_manager.py

shipping features

* Update stock_manager.py

stock refresh in the background

* Customize Display timings

customize display timings

* Update stock_manager.py

stock font size change

* Sizing and Spacing

CHanged font sizing on chart and clock spacing

* Update clock.py

Date format changes

* Update stock_manager.py

actually read stocks from config file

* Update stock_manager.py

add config manager

* readme update

readme update and formatting for better flow

* Update .gitignore

rename reference folder

* Update config.json

changed default stocks to test update implementation

* Stock News

Stock news Ticker

* Update config.json

increase scroll speed

* Scroll Performance

Tuning news scrolling performance

* updating scroll direction

orienting scroll direction

* News tuning

removed test files and increased scroll speed

* Create test_news_manager.py

need a test script to call upon

* Update test_news_manager.py

test script tuning

* troubleshooting test script

* Update test_news_manager.py

* Update config.json

scroll speed increases

* Update config.json

scroll tuning

* Update config.json

speeding up

* Update config.json

still making text faster

* Update config.json

Trying to tune scrolling

* Update config.json

testing crazy parameters

* Update test_news_manager.py

remove sleep delay

* scroll tuning

scroll tuning

* scroll logging and debugging

FPS counter and debug messages

* Update config.json

matrix speed tuning

* Update news_manager.py

News separator

* Update news_manager.py

separator character change

* Stock News manager Rename

rename stock news ticker to enable other news in the future

* Update display_controller.py

load config update

* Update stock_manager.py

remove redundant import

* Stock news settings

Stock news has more granular control

* Stock news joins the lineup

Stock News added to the display controller and drawing display instead of image

* Optimize scrolling text performance for news ticker

* Adjust matrix settings to reduce artifacting while maintaining performance

* changed float to integer

* Fix news ticker performance with simplified scrolling mechanism

* Fix stock news scrolling in test environment: - Optimize display manager settings for smooth scrolling - Add proper display initialization and cleanup in test script - Implement timing control to prevent display buffer overflow - Ensure consistent 1ms delay between updates for smooth scrolling

* Optimize stock news scrolling for better performance: - Use pre-rendered text image for efficient scrolling - Implement cropping and pasting for smoother animation - Remove unnecessary display operations and delays

* Optimize stock news display performance: - Cache text image to reduce rendering overhead - Improve frame creation and update logic - Optimize text wrapping for smoother scrolling - Remove unnecessary display clears

* Optimize stock news display in controller: - Remove global sleep delay - Allow news display to run at full speed - Keep slower update rates for other displays

---------

Signed-off-by: Chuck <33324927+ChuckBuilds@users.noreply.github.com>
2025-04-11 11:10:50 -05:00
Chuck
459e3f937d Update display_manager.py
adjust font size
2025-04-08 20:53:26 -05:00
Chuck
219ac37b54 Update display_manager.py
font resize
2025-04-08 20:52:04 -05:00
Chuck
27da4a573b font change
font changed to Press Start 2P
2025-04-08 19:10:57 -05:00
Chuck
d9a9ca3e17 Update display_manager.py
font changes to dejavu thinnest
2025-04-08 18:59:15 -05:00
Chuck
1678c6fdba Update display_manager.py
remove bitmap and go back to a font. Bitmap was too bold
2025-04-08 18:56:44 -05:00
Chuck
bdb923ef88 Update display_manager.py
using bitmap display instead of fonts
2025-04-08 18:55:00 -05:00
Chuck
08bd347cc4 Update display_manager.py
font changes
2025-04-08 18:51:14 -05:00
Chuck
43d2c422ca Update display_manager.py
timing adjustments to fight artifacts
2025-04-08 18:43:49 -05:00
Chuck
ed35da47c2 Attacking Artifacts
display changes and buffer changes to fight the artifacting
2025-04-08 18:41:08 -05:00
Chuck
6d81241fd9 Luminance fix
luminance fix error
2025-04-08 18:34:58 -05:00
Chuck
96e81af0bf error resolution
fixing luminance error
2025-04-08 18:32:54 -05:00
Chuck
902b53ec86 display draw settings
fighting flicker
2025-04-08 18:30:08 -05:00
Chuck
c9aef7e408 Update display_manager.py
redraw weather icons
2025-04-08 18:05:59 -05:00
Chuck
df94535316 troubleshooting weather forecast
weather forecast error resolution
2025-04-08 18:00:24 -05:00
Chuck
953616a143 Weather forecast icon enhancements
using google icon set for weather
2025-04-07 21:44:38 -05:00
Chuck
32d685efe0 Weather Forecast Visual improvements 2025-04-07 21:40:15 -05:00
Chuck
d49f901ffc Double buffering and Force Clear
Attempting to clean up flicker - otherwise working
2025-04-07 21:31:26 -05:00
Chuck
bae3475efe Update display_manager.py
stop drawing text and start drawing images
2025-04-07 21:23:10 -05:00
Chuck
27347b13d0 Update display_manager.py
font call order issues
2025-04-07 21:16:49 -05:00
Chuck
2cab82b59a rabbithole continues
Might not have been worth executing from root folder....
2025-04-07 21:15:32 -05:00
Chuck
cafab55cb2 more display changes
tuning absolute positioning of pixels and draw space
2025-04-07 21:01:29 -05:00
Chuck
b9641389d0 Flicker adjustments and text padding 2025-04-07 20:54:53 -05:00
Chuck
c3cfe8ed6c Display improvements
display rotate 0
set refresh to 120
slowed down weather
scaled text to fit
2025-04-07 20:45:08 -05:00
Chuck
f2fff9c0c9 tuning display settings
trying to fix display
2025-04-07 20:40:43 -05:00
Chuck
635ce7a88e troubleshooting display
fix attempt on upside down display and bad flicker
2025-04-07 20:34:14 -05:00
Chuck
62dc11bed1 Update display_manager.py
fix width attribute
2025-04-07 20:32:05 -05:00
Chuck
3408b929d3 Screen tuning
Adjust buggy screen rotation
2025-04-07 20:28:17 -05:00
Chuck
ca12ed7f55 Display tuning
added config settings for display tuning
2025-04-07 20:15:13 -05:00
Chuck
cdcf6a1d7a Update display_manager.py
turn off refresh rate display
2025-04-07 20:08:19 -05:00
Chuck
35c3f6eae0 adjust display controller
to run single threaded instead of multithreaded
2025-04-07 20:04:55 -05:00
Chuck
30c3080f15 Initial Clock Format 2025-04-07 16:52:13 -05:00