Commit Graph

339 Commits

Author SHA1 Message Date
07e5867d21 Updated the watch_peripherals_vibrate_with_pattern function sighature, the parameter is now a const 2023-10-01 19:34:08 +02:00
anschrammh
50b12e4548 Reworked the way the music player is keeping track of the play time of the current playing song so it doesn't desync when closing the player app or when the screen goes off 2023-09-27 23:07:20 +02:00
anschrammh
36285739ac Merge branch 'master' of http://82.64.196.164/git/Th3maz1ng/W800_Smart_Watch 2023-09-27 00:55:48 +02:00
8c4fe27637 Updated the readme document as some parts were not correct anymore 2023-09-27 00:54:41 +02:00
ee92fb6cdd Finished to design the second version of the docking, it now has a USB micro connector and a cutout for the hearth rate sensor. STL file also available. 2023-09-27 00:54:41 +02:00
anschrammh
6330ecac76 Added some doc to some functions 2023-09-27 00:52:59 +02:00
anschrammh
08be2b5946 Reworked the way the playing track time is computed so that there no sync issues when we leave the music player app while a song is still playing 2023-09-26 23:26:35 +02:00
25b0e64328 Updated the readme document as some parts were not correct anymore 2023-09-24 13:07:47 +02:00
6c3b7fae53 Finished to design the second version of the docking, it now has a USB micro connector and a cutout for the hearth rate sensor. STL file also available. 2023-09-24 11:58:47 +02:00
anschrammh
b0ba6c36e4 Rewriting the music player to have a better sync between phone track play time and what is displayed on the watch 2023-09-21 12:47:20 +02:00
f5d3e33dab Fixed the date shown in the about section of the settings, months were off by one ... 2023-08-08 20:42:25 +02:00
Anatole SCHRAMM
ece0d08ae7 Added more documentation comments 2023-07-06 15:28:18 +02:00
Anatole SCHRAMM
8af4e2467e Now updating the battery percentage sent by the BLE battery service 2023-07-06 15:14:38 +02:00
anschrammh
0e6828634f Updated lvgl simulator watch face source file 2023-06-15 23:06:03 +02:00
anschrammh
10cb049ab1 Changed the logic of the music player when clicking on the next and previous buttons, now, a short click goes to the next/previous track and a long click forwards/rewinds the song by X seconds 2023-05-30 19:12:05 +02:00
anschrammh
5a62e05e0e Automatically centers the date number in the date windows of the watch's face 2023-05-30 19:10:39 +02:00
anschrammh
bc37beb5c0 Added a new function to the watch peripherals API to vibrate the watch with a custom pattern 2023-05-30 19:09:26 +02:00
Anatole SCHRAMM
5276ce1664 Added a timer to update the playing's music current position, will have to do a minor rework for it to be flawless. 2023-05-16 13:45:41 +02:00
anschrammh
6e8802399b music_player_screen slight timer update 2023-05-16 08:42:41 +02:00
8ee1be93c6 Added the music player UI mockup 2023-05-14 22:18:41 +02:00
c9f84fd5c1 Added missing strcasecmp function prototype in the include file 2023-05-14 22:17:55 +02:00
fa574d0baa Added some new words translation for the music player screen 2023-05-14 22:16:44 +02:00
47e31a1210 Rephrased some API comments 2023-05-14 22:15:14 +02:00
17164c722e Integrated the music player screen to the watch's firmware + minor other things 2023-05-14 22:14:38 +02:00
cf7c52c1eb Commented the API 2023-05-14 22:13:26 +02:00
df4ab1f790 Proper comments format 2023-05-14 22:12:26 +02:00
6df9ab5aad Added the music player icon + saving the menu list scroll position when leaving an app 2023-05-14 22:11:47 +02:00
edb127e626 Updated the gadget bridge parser 2023-05-14 22:10:13 +02:00
23f592bcc1 Finally added the music player used to control the music playback of the phone through the BLE connection. It works great, some minor adjustements to do though. 2023-05-14 22:09:43 +02:00
890e461b90 Finished the UI of the music player, still need to properly increment the current track play position 2023-05-14 22:08:12 +02:00
66fa33cde1 Now saving the scroll position of the menu to resum it when exiting an app 2023-05-14 22:06:58 +02:00
677c3f3a67 Made slights adjustement to the parser to correctly parse the artist song tag when the album tag is present 2023-05-14 22:06:09 +02:00
faefc7df74 Music player screen is almost done, a few things more to tweak 2023-05-13 00:19:19 +02:00
2f50aa50c6 With the current driver state, it is possible to detect heart beats and thus compute the current heart rate. More things to come. 2023-05-12 15:24:59 +02:00
880dd9cb0e MAX3010X driver continued and to be continued ... 2023-05-12 12:31:01 +02:00
61d8f80551 Renamed MAX3010X.h/c driver files 2023-05-11 21:57:20 +02:00
anschrammh
dc2f1dcecc Replaced lv_color_make(0xFF, 0xFF,0xFF) with lv_color_white(). 2023-05-11 07:22:56 +02:00
anschrammh
8aa309b0c6 Minor changes + added the initialization code for the music player screen 2023-05-11 07:19:19 +02:00
anschrammh
42c01e1d08 Continued to work on the MAX3010X driver, setup function is complete, still a lot to port/implement 2023-05-11 07:18:11 +02:00
anschrammh
23d3c47374 Renamed the music control screen to music player screen and continued dev on it, not finished though 2023-05-11 07:16:58 +02:00
3ae5bb9bdf Continued to implement/port the MAX30102 using the sparkfun library. Still work to be done ! 2023-05-08 21:30:58 +02:00
ee5a466666 Renamed register name define to be easier to understand 2023-05-08 21:29:15 +02:00
77c24b7fdc Mise à jour de 'README.md' 2023-05-07 12:13:37 +02:00
3cfbfdc843 Moved registers defines of the various I2C drivers I wrote from the header file to the source file because they do not need to be exposed. Started to write/port the Heart Rate Sensor (MAX30102) driver 2023-05-07 08:50:23 +02:00
e863899d11 Updated the README file to include the heart rate sensor used 2023-05-07 08:48:14 +02:00
773d6f1338 Merge branch 'master' of http://82.64.196.164/git/Th3maz1ng/W800_Smart_Watch 2023-05-06 22:29:00 +02:00
662881b128 Published the STLs ready to be 3D printed. The next version of the docking will come later... 2023-05-06 21:50:20 +02:00
2f9b654aa2 Removed backup FreeCAD files 2023-05-06 21:47:07 +02:00
anschrammh
37558a3864 Developping a music control screen/app for the watch in the lvgl simulator, work is in progress 2023-05-06 21:39:50 +02:00
a717c6b0d7 Finished the design of the new case and back cover, which is available in two versions : with Heart Rate Monitor or without. The docking station is still under design since I'd like to add a micro USB connector. 2023-05-06 21:36:56 +02:00