]> Devi Nivas Git - smartwatch.git/log
smartwatch.git
5 weeks agoimu works
Gajula, Anish [Mon, 24 Nov 2025 07:29:44 +0000 (02:29 -0500)]
imu works

hooray!! :D

5 weeks agoUpdated the README file
Gajula, Anish [Fri, 21 Nov 2025 04:33:03 +0000 (23:33 -0500)]
Updated the README file

6 weeks agoAdd clock AM/PM display code, fix ghost arms and phase offset
Advaith Menon [Tue, 18 Nov 2025 22:10:45 +0000 (17:10 -0500)]
Add clock AM/PM display code, fix ghost arms and phase offset
* Fix the problem of ghost arms/arms not being cleared out
* Fix the issue wherein the angles are offset pi/2 from where they should be
* Add digital time indicator which partially works (says 00 instead of 12)
* Make the font "SMART WATCH OS" bold
* Reduce sampling period to 500 ms to allow regular 1s updates with no
  skips
* Add slower_baud to allow reducing baud rate back to 9600
* Allow lcd_clock_draw_hand to accept color

6 weeks agoWatch Face Drawing Code (Untested)
Advaith Menon [Tue, 18 Nov 2025 19:51:02 +0000 (14:51 -0500)]
Watch Face Drawing Code (Untested)
* Modify APPSCR macros to allow variable number of apps per
  screen, allowing dynamic changing of these values via a
  Settings interface
* Comment old macro code in lcd_homepage_loop
* Add lcd_draw_clock_face to draw a circular clock face with
  hour ticks using trigonometry
* Add lcd_clock_draw_hand to draw clock hands in an easy way
* Modify lcd_clock_loop to use the new lcd_draw_clock_face
  and lcd_clock_draw_hand functions

6 weeks agoCreate splash screen
Advaith Menon [Mon, 17 Nov 2025 08:59:29 +0000 (03:59 -0500)]
Create splash screen
* Modify LCD_WIDTH and LCD_HEIGHT to correct values
* Mofify gl_setbaudWait to accept a baud change callback
* Add animation to display "SMART WATCH OS" on the screen
* Add home screen tiles generation functionality
* Test clock functionality in a debug mode

6 weeks agoAdd working uLCD Library
Advaith Menon [Mon, 17 Nov 2025 04:41:53 +0000 (23:41 -0500)]
Add working uLCD Library
* Namespace all 4DGL extern functions with gl_
* Pass gl_display_t * to all objects to allow using multiple ULCDs
* Add a 2sec timeout for the initialization since we need to send
  but there's no ACK
* Modify test program to display a Japanese flag

6 weeks agoInitial uLCD Library Port
Advaith Menon [Sun, 16 Nov 2025 22:58:44 +0000 (17:58 -0500)]
Initial uLCD Library Port
* Copied over 4D Systems Goldelox-Linux Library
* Not tested yet, but most Linux syscalls replaced with a fn
  pointer (like in the ICM-20948 library)

6 weeks agoUpdate GPIO Input Code, Add Output
Advaith Menon [Sun, 16 Nov 2025 22:57:21 +0000 (17:57 -0500)]
Update GPIO Input Code, Add Output
* Add gpio_reset_pin to change pin modes to GPIO
* See https://github.com/espressif/esp-idf/issues/11975 for more info

6 weeks agoRemove ESP32 example README
Advaith Menon [Sun, 16 Nov 2025 08:12:51 +0000 (03:12 -0500)]
Remove ESP32 example README
* Remove the default README that came with the example template.

6 weeks agoAdd README
Advaith Menon [Sun, 16 Nov 2025 08:09:24 +0000 (03:09 -0500)]
Add README
* Add a draft README file

6 weeks agoAdd test program for button inputs
Advaith Menon [Sun, 16 Nov 2025 07:41:42 +0000 (02:41 -0500)]
Add test program for button inputs
* Allow esp_driver_gpio privilege
* Remove restart code
* Add test program to read input buttons

6 weeks agoInitial commit
Advaith Menon [Sun, 16 Nov 2025 06:27:13 +0000 (01:27 -0500)]
Initial commit
* Copy the Espressif hello_world example for use with the project
* Add .gitignore of Espressif to the project