730 Commits

Author SHA1 Message Date
Pavel Machek d6d3669309 imu: Allow access to iio on Linux
Linux phones have IMU units. Allow applications to use them same
way they would access IMU on esp32 based devices. Lightly tested
on PinePhone.

Same applications useful on esp32 (compass, step counter) are likely
to be useful on Linux phones, too.
2026-02-16 20:44:10 +01:00
Thomas Farstrike 7431537010 AudioManager: add support for adc_mic
This works for init:

AudioManager(i2s_pins=i2s_pins, adc_mic_pin=1)

And then this for recording:

AudioManager.record_wav_adc(file_path="/recording.wav",duration_ms=5000,sample_rate=16000,on_complete=lambda msg: print(f"Finished: {msg}"))
2026-02-16 16:39:52 +01:00
Thomas Farstrike 4ab4e31de1 Fix board detect 2026-02-15 14:37:24 +01:00
Thomas Farstrike 60fcf64a68 Merge pull request #37 from jedie/clear-battery-cache
Clear battery cache in ShowBattery app
2026-02-14 20:27:41 +01:00
JensDiemer ac89237647 Enhance ShowBattery and fixes for Odroid-GO battery
Add a "Real-time values" checkbox to ShowBattery app. If checked, then the cache will be clear on
every cycle.

Bugfix: Use `mpos.time.localtime()` to get the "correct" local time with timezone offset.

Changes for Odroid-GO:

The seen "2400" values are at startup the Odroid-GO... After a while the values are somewhere
between 270 and 310... The full range is unknown, yet. But with the new calculation it looks more
realistic, then before ;)
2026-02-14 17:20:02 +01:00
Thomas Farstrike 74b1a427ce Move odroid go detection towards the bottom 2026-02-13 22:47:52 +01:00
Thomas Farstrike d2d5d64b6f Fix ili9341 2026-02-13 21:59:24 +01:00
Thomas Farstrike 821073b5be Fix st7789 2026-02-13 21:54:59 +01:00
Thomas Farstrike 2dfcd1ed84 Fix st7789 2026-02-13 21:44:06 +01:00
Thomas Farstrike 72faccc1b4 Fix board 2026-02-13 21:13:43 +01:00
Thomas Farstrike 5f448f420b Fix tests 2026-02-13 20:33:19 +01:00
Thomas Farstrike 2ef3b1c559 Merge branch 'm5stack-fire' of https://github.com/ancebfer/MicroPythonOS into ancebfer-m5stack-fire 2026-02-13 20:02:16 +01:00
Thomas Farstrike 82b116969f [UNTESTED] rework odroid into generic esp32 target 2026-02-13 15:29:25 +01:00
JensDiemer a6b010b3e0 Support Hardkernel ODROID-Go
Support for Hardkernel ESP32 device: ODROID-Go (The old one from 2018)

* https://github.com/hardkernel/ODROID-GO/
* https://wiki.odroid.com/odroid_go/odroid_go

What worked:

* Display
* Buttons
* Crossbar
* Wifi
* Battery
* blue LED

TODO:

* Speaker

The blue LED is "coupled" with the button/crossbar press.
2026-02-13 13:06:03 +01:00
Thomas Farstrike 06d64b7ac4 WifiService: less debug output 2026-02-13 11:09:03 +01:00
Thomas Farstrike aa96ca9797 Comments and output 2026-02-13 11:08:47 +01:00
Thomas Farstrike b6d3f0c63d Comments 2026-02-13 10:58:16 +01:00
Thomas Farstrike dd38d1d31e Workaround exception handling bug 2026-02-11 22:59:31 +01:00
Thomas Farstrike f9b200584a CameraManager: only apply values that are set 2026-02-11 22:40:24 +01:00
Thomas Farstrike 0aded1d58e OSUpdate app: improve style in portrait mode 2026-02-11 22:12:31 +01:00
Thomas Farstrike 2a8f7c9860 Comments 2026-02-11 21:23:26 +01:00
Thomas Farstrike c2312ca0cb Launcher: smarter image width layout for portrait displays 2026-02-11 21:18:10 +01:00
Thomas Farstrike 9ef1cc8e7b CameraManager: support rotated cameras 2026-02-11 21:08:00 +01:00
Thomas Farstrike 0192c382da Wifi app: improve style on portrait displays 2026-02-11 20:05:01 +01:00
Thomas Farstrike bd9bdfc742 CameraActivity: improve overlay style for poster format 2026-02-11 11:47:28 +01:00