foamyguy
c41e65bdeb
lower default volume limit, update examples, change warning message
2025-08-27 10:46:26 -05:00
foamyguy
5eabd3d955
Merge branch 'refs/heads/main' into volume_api
...
# Conflicts:
# requirements.txt
2025-08-27 10:33:27 -05:00
Mikey Sklar
cb5d1db622
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
2025-08-25 16:06:37 -07:00
Mikey Sklar
2e19356d9a
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
2025-08-25 13:19:56 -07:00
Mikey Sklar
d1d0bb0932
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
2025-08-22 18:30:11 -07:00
Mikey Sklar
544adaa447
ntp module
...
helper code to get time sync with minimal fuss on the Fruit Jam.
2025-08-21 17:41:36 -07:00
foamyguy
eb35d69e1b
update printed volume label
2025-08-20 07:54:10 -05:00
foamyguy
4998356604
add synthio example.
2025-08-19 16:31:11 -05:00
foamyguy
9825076bcf
update audio examples to use new volume API.
2025-08-19 16:07:54 -05:00
foamyguy
b8b1770da5
use .license files
2025-08-14 16:50:14 -05:00
Mikey Sklar
09af721cf7
ruff whitespace
2025-08-14 13:06:25 -07:00
Mikey Sklar
456851aabf
wav file reuse
2025-08-14 13:04:19 -07:00
Mikey Sklar
e95edb3e3d
license files for wavs
2025-08-14 12:55:17 -07:00
Mikey Sklar
0e0ab5431f
headphone vs speaker usage
...
Short examples showing how to set volume and play WAV files for both headphone 3.5mm jack and mini speaker.
2025-08-14 12:32:14 -07:00
foamyguy
6043362d3a
extending portalbase, add example that uses network fetch
2025-07-21 15:51:14 -05:00
foamyguy
a983b6a93f
format
2025-07-01 12:11:45 -05:00
foamyguy
58926b5549
end of file newlines
2025-07-01 12:08:20 -05:00
foamyguy
f52fdd17fc
implementing buttons, neopixels, and audio init
2025-07-01 12:00:05 -05:00
foamyguy
bfe28d04cd
initial code
2025-05-02 11:45:39 -05:00