Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: adafruit/Adafruit_CircuitPython_FruitJam
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.0.3
Choose a base ref
...
head repository: adafruit/Adafruit_CircuitPython_FruitJam
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.1.0
Choose a head ref
  • 10 commits
  • 6 files changed
  • 2 contributors

Commits on Aug 22, 2025

  1. ntp module

    helper code to get time sync with minimal fuss on the Fruit Jam.
    mikeysklar committed Aug 22, 2025
    Configuration menu
    Copy the full SHA
    544adaa View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2025

  1. refactored to use fruitjam network module

    Refactored and "works for me". I'll ask @b-blake to confirm functionality as well.
    
    	•	Added Network.sync_time() method in network.py
    	•	Uses adafruit_ntp + adafruit_connection_manager.
    	•	Reads optional NTP_* keys from settings.toml.
    	•	Sets rtc.RTC().datetime
    	•	Added example examples/fruitjam_time_sync.py (sync once, print localtime).
    	•	Added example examples/fruitjam_ntp_settings.toml
    mikeysklar committed Aug 23, 2025
    Configuration menu
    Copy the full SHA
    d1d0bb0 View commit details
    Browse the repository at this point in the history
  2. mock imports / requirements

    ntp and connection_manager libs
    mikeysklar committed Aug 23, 2025
    Configuration menu
    Copy the full SHA
    fc388c5 View commit details
    Browse the repository at this point in the history
  3. rtc lib mock add

    mikeysklar committed Aug 23, 2025
    Configuration menu
    Copy the full SHA
    6b86bc9 View commit details
    Browse the repository at this point in the history
  4. Update __init__.py

    blank line missing.
    mikeysklar committed Aug 23, 2025
    Configuration menu
    Copy the full SHA
    75e5fb7 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2025

  1. retry logic for ETIMEOUT

    mikeysklar committed Aug 24, 2025
    Configuration menu
    Copy the full SHA
    96e4575 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2025

  1. ntp constructor dup / retry logic

    ntp constructor removed.
    
    dup rtc import had already been removed.
    
    new NTP_RETRIES and NTP_DELAY_S user configurable settings.
    
    ```
    NTP_RETRIES   = 8     # number of NTP fetch attempts
    NTP_DELAY_S   = 1.0   # delay between attempts (seconds)
    ```
    
    updated settings.toml example
    
    updated docstring for sync_time with new NTP* configurables
    mikeysklar committed Aug 25, 2025
    Configuration menu
    Copy the full SHA
    2e19356 View commit details
    Browse the repository at this point in the history
  2. helpers for sync_time

    ruff was getting upset about too many branches
    mikeysklar committed Aug 25, 2025
    Configuration menu
    Copy the full SHA
    d2ae05e View commit details
    Browse the repository at this point in the history
  3. settings.toml float quote, attribution, duplicate last_exc setting

    settings.toml example with double quotes for floating point values
    
    mikeysklar attribution
    
    drop duplicate last_exc
    mikeysklar committed Aug 25, 2025
    Configuration menu
    Copy the full SHA
    cb5d1db View commit details
    Browse the repository at this point in the history
  4. Merge pull request #14 from mikeysklar/ntp-helper

    Fruit Jam NTP module
    FoamyGuy authored Aug 25, 2025
    Configuration menu
    Copy the full SHA
    9259a09 View commit details
    Browse the repository at this point in the history
Loading