16 Commits

Author SHA1 Message Date
hueso
29cf75d046 moon phase: southern hemisphere drawings
Some checks failed
GitHub Pages / gh-pages (push) Has been cancelled
Build / build (sensorwatch_blue, classic) (push) Has been cancelled
Build / build (sensorwatch_blue, custom) (push) Has been cancelled
Build / build (sensorwatch_green, classic) (push) Has been cancelled
Build / build (sensorwatch_green, custom) (push) Has been cancelled
Build / build (sensorwatch_pro, classic) (push) Has been cancelled
Build / build (sensorwatch_pro, custom) (push) Has been cancelled
Build / build (sensorwatch_red, classic) (push) Has been cancelled
Build / build (sensorwatch_red, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, custom) (push) Has been cancelled
2025-12-17 01:45:23 -03:00
hueso
5fb8ab2bb0 Merge branch 'español' 2025-12-17 01:39:11 -03:00
hueso
084dec63f5 translate moon phase
Some checks failed
Build / build (sensorwatch_blue, classic) (push) Has been cancelled
Build / build (sensorwatch_blue, custom) (push) Has been cancelled
Build / build (sensorwatch_green, classic) (push) Has been cancelled
Build / build (sensorwatch_green, custom) (push) Has been cancelled
Build / build (sensorwatch_pro, classic) (push) Has been cancelled
Build / build (sensorwatch_pro, custom) (push) Has been cancelled
Build / build (sensorwatch_red, classic) (push) Has been cancelled
Build / build (sensorwatch_red, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, custom) (push) Has been cancelled
2025-12-17 01:38:33 -03:00
hueso
5bb200d4a0 Merge branch 'wyoscan' 2025-12-17 00:18:08 -03:00
hueso
a32e5d1d8f wyoscan: use local time
Some checks failed
Build / build (sensorwatch_blue, classic) (push) Has been cancelled
Build / build (sensorwatch_blue, custom) (push) Has been cancelled
Build / build (sensorwatch_green, classic) (push) Has been cancelled
Build / build (sensorwatch_green, custom) (push) Has been cancelled
Build / build (sensorwatch_pro, classic) (push) Has been cancelled
Build / build (sensorwatch_pro, custom) (push) Has been cancelled
Build / build (sensorwatch_red, classic) (push) Has been cancelled
Build / build (sensorwatch_red, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, custom) (push) Has been cancelled
2025-12-17 00:15:33 -03:00
hueso
ad7ad20834 Merge branch 'moonrise'
Some checks failed
Build / build (sensorwatch_blue, classic) (push) Has been cancelled
Build / build (sensorwatch_blue, custom) (push) Has been cancelled
Build / build (sensorwatch_green, classic) (push) Has been cancelled
Build / build (sensorwatch_green, custom) (push) Has been cancelled
Build / build (sensorwatch_pro, classic) (push) Has been cancelled
Build / build (sensorwatch_pro, custom) (push) Has been cancelled
Build / build (sensorwatch_red, classic) (push) Has been cancelled
Build / build (sensorwatch_red, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, custom) (push) Has been cancelled
GitHub Pages / gh-pages (push) Has been cancelled
2025-12-16 16:04:08 -03:00
hueso
373d90f39c Merge branch 'español' 2025-12-16 16:03:45 -03:00
hueso
db4d4d222b Merge branch 'wyoscan' 2025-12-16 16:03:40 -03:00
hueso
370cb1b3ec bring back wyoscan
Some checks failed
Build / build (sensorwatch_blue, classic) (push) Has been cancelled
Build / build (sensorwatch_blue, custom) (push) Has been cancelled
Build / build (sensorwatch_green, classic) (push) Has been cancelled
Build / build (sensorwatch_green, custom) (push) Has been cancelled
Build / build (sensorwatch_pro, classic) (push) Has been cancelled
Build / build (sensorwatch_pro, custom) (push) Has been cancelled
Build / build (sensorwatch_red, classic) (push) Has been cancelled
Build / build (sensorwatch_red, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, custom) (push) Has been cancelled
2025-12-16 14:16:45 -03:00
hueso
78bdbb0e15 add moonrise/moonset face
Some checks failed
Build / build (sensorwatch_blue, classic) (push) Has been cancelled
Build / build (sensorwatch_blue, custom) (push) Has been cancelled
Build / build (sensorwatch_green, classic) (push) Has been cancelled
Build / build (sensorwatch_green, custom) (push) Has been cancelled
Build / build (sensorwatch_pro, classic) (push) Has been cancelled
Build / build (sensorwatch_pro, custom) (push) Has been cancelled
Build / build (sensorwatch_red, classic) (push) Has been cancelled
Build / build (sensorwatch_red, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, custom) (push) Has been cancelled
2025-12-16 14:09:52 -03:00
hueso
95b582f8ac spanish translations
Some checks failed
Build / build (sensorwatch_blue, classic) (push) Has been cancelled
Build / build (sensorwatch_blue, custom) (push) Has been cancelled
Build / build (sensorwatch_green, classic) (push) Has been cancelled
Build / build (sensorwatch_green, custom) (push) Has been cancelled
Build / build (sensorwatch_pro, classic) (push) Has been cancelled
Build / build (sensorwatch_pro, custom) (push) Has been cancelled
Build / build (sensorwatch_red, classic) (push) Has been cancelled
Build / build (sensorwatch_red, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, custom) (push) Has been cancelled
2025-12-16 13:51:12 -03:00
hueso
1174d80c98 add light to settings face
Some checks failed
Build / build (sensorwatch_blue, classic) (push) Has been cancelled
Build / build (sensorwatch_blue, custom) (push) Has been cancelled
Build / build (sensorwatch_green, classic) (push) Has been cancelled
Build / build (sensorwatch_green, custom) (push) Has been cancelled
Build / build (sensorwatch_pro, classic) (push) Has been cancelled
Build / build (sensorwatch_pro, custom) (push) Has been cancelled
Build / build (sensorwatch_red, classic) (push) Has been cancelled
Build / build (sensorwatch_red, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_blue, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_green, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_pro, custom) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, classic) (push) Has been cancelled
Build / build-simulator (sensorwatch_red, custom) (push) Has been cancelled
2025-12-16 11:51:32 -03:00
hueso
7757489ce7 fix LED turning off on face changes 2025-12-16 11:51:32 -03:00
hueso
4d530ab29f close_enough_face: swap bell/alarm to match stock firmware 2025-12-16 11:51:32 -03:00
hueso
4453a9f3da ignore indicators for short beep alarms 2025-12-16 11:51:32 -03:00
hueso
4c8d04030c Fixed buffer overflows in sunrise_sunset_face 2025-12-16 11:51:32 -03:00
6 changed files with 33 additions and 32 deletions

View File

@@ -33,6 +33,7 @@
#include "stopwatch_face.h" #include "stopwatch_face.h"
#include "fast_stopwatch_face.h" #include "fast_stopwatch_face.h"
#include "sunrise_sunset_face.h" #include "sunrise_sunset_face.h"
#include "moonrise_face.h"
#include "moon_phase_face.h" #include "moon_phase_face.h"
#include "days_since_face.h" #include "days_since_face.h"
#include "character_set_face.h" #include "character_set_face.h"
@@ -78,5 +79,5 @@
#include "higher_lower_game_face.h" #include "higher_lower_game_face.h"
#include "lander_face.h" #include "lander_face.h"
#include "simon_face.h" #include "simon_face.h"
#include "moonrise_face.h" #include "wyoscan_face.h"
// New includes go above this line. // New includes go above this line.

View File

@@ -10,6 +10,7 @@ SRCS += \
./watch-faces/complication/stopwatch_face.c \ ./watch-faces/complication/stopwatch_face.c \
./watch-faces/complication/fast_stopwatch_face.c \ ./watch-faces/complication/fast_stopwatch_face.c \
./watch-faces/complication/sunrise_sunset_face.c \ ./watch-faces/complication/sunrise_sunset_face.c \
./watch-faces/complication/moonrise_face.c \
./watch-faces/complication/moon_phase_face.c \ ./watch-faces/complication/moon_phase_face.c \
./watch-faces/complication/days_since_face.c \ ./watch-faces/complication/days_since_face.c \
./watch-faces/complication/breathing_face.c \ ./watch-faces/complication/breathing_face.c \
@@ -53,5 +54,5 @@ SRCS += \
./watch-faces/complication/higher_lower_game_face.c \ ./watch-faces/complication/higher_lower_game_face.c \
./watch-faces/complication/lander_face.c \ ./watch-faces/complication/lander_face.c \
./watch-faces/complication/simon_face.c \ ./watch-faces/complication/simon_face.c \
./watch-faces/complication/moonrise_face.c \ ./watch-faces/clock/wyoscan_face.c \
# New watch faces go above this line. # New watch faces go above this line.

View File

@@ -189,8 +189,8 @@ bool close_enough_face_loop(movement_event_t event, void *context) {
char second_word[3]; char second_word[3];
char third_word[3]; char third_word[3];
if (five_minute_period == 0) { // " HH OC", if (five_minute_period == 0) { // " HH OC",
sprintf(first_word, " "); sprintf(first_word, "%2d", close_enough_hour);
sprintf(second_word, "%2d", close_enough_hour); sprintf(second_word, " ");
strncpy(third_word, oclock_word, 3); strncpy(third_word, oclock_word, 3);
} else { // "MM P HH" or "MM 2 HH+1" } else { // "MM P HH" or "MM 2 HH+1"
int words_length = sizeof(words) / sizeof(words[0]); int words_length = sizeof(words) / sizeof(words[0]);

View File

@@ -25,7 +25,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "wyoscan_face.h" #include "wyoscan_face.h"
#include "watch_private_display.h"
/* /*
Slowly render the current time from left to right, Slowly render the current time from left to right,
@@ -115,7 +114,7 @@ bool wyoscan_face_loop(movement_event_t event, void *context) {
break; break;
case EVENT_TICK: case EVENT_TICK:
if (!state->animate) { if (!state->animate) {
date_time = watch_rtc_get_date_time(); date_time = movement_get_local_date_time();
state->start = 0; state->start = 0;
state->end = 0; state->end = 0;
state->animation = 0; state->animation = 0;

View File

@@ -72,41 +72,41 @@ static void _update(moon_phase_state_t *state, uint32_t offset) {
switch (phase_index) { switch (phase_index) {
case 0: case 0:
case 8: case 8:
watch_display_text_with_fallback(WATCH_POSITION_BOTTOM, "NE!J ", " Neu "); watch_display_text_with_fallback(WATCH_POSITION_BOTTOM, "NE!J ", " NUEVA");
watch_display_text_with_fallback(WATCH_POSITION_TOP_LEFT, " ", " "); watch_display_text_with_fallback(WATCH_POSITION_TOP_LEFT, " ", " ");
break; break;
case 1: case 1:
watch_display_text(WATCH_POSITION_BOTTOM, "CresNt"); watch_display_text(WATCH_POSITION_BOTTOM, "Crecie");
watch_display_text_with_fallback(WATCH_POSITION_TOP_LEFT, "WAX", " "); watch_display_text_with_fallback(WATCH_POSITION_TOP_LEFT, "WAX", " ");
if (watch_get_lcd_type() == WATCH_LCD_TYPE_CLASSIC) { if (watch_get_lcd_type() == WATCH_LCD_TYPE_CLASSIC) {
watch_set_pixel(2, 13); watch_set_pixel(0, 14);
watch_set_pixel(2, 15); watch_set_pixel(0, 13);
if (currentfrac > 0.125) watch_set_pixel(1, 13); if (currentfrac > 0.125) watch_set_pixel(2, 14);
} }
break; break;
case 2: case 2:
watch_display_text_with_fallback(WATCH_POSITION_BOTTOM, "1stQtr", " 1st q"); watch_display_text_with_fallback(WATCH_POSITION_BOTTOM, "1stQtr", "4#Crec");
watch_display_text_with_fallback(WATCH_POSITION_TOP_LEFT, "WAX", " "); watch_display_text_with_fallback(WATCH_POSITION_TOP_LEFT, "WAX", " ");
if (watch_get_lcd_type() == WATCH_LCD_TYPE_CLASSIC) { if (watch_get_lcd_type() == WATCH_LCD_TYPE_CLASSIC) {
watch_set_pixel(2, 13);
watch_set_pixel(2, 15);
watch_set_pixel(1, 13);
watch_set_pixel(1, 14); watch_set_pixel(1, 14);
watch_set_pixel(2, 14);
watch_set_pixel(0, 14);
watch_set_pixel(0, 13);
} }
break; break;
case 3: case 3:
watch_display_text_with_fallback(WATCH_POSITION_BOTTOM, "GbboUs", " Gibb "); watch_display_text_with_fallback(WATCH_POSITION_BOTTOM, "GbboUs", " GibCr");
watch_display_text_with_fallback(WATCH_POSITION_TOP_LEFT, "WAX", " "); watch_display_text_with_fallback(WATCH_POSITION_TOP_LEFT, "WAX", " ");
if (watch_get_lcd_type() == WATCH_LCD_TYPE_CLASSIC) { if (watch_get_lcd_type() == WATCH_LCD_TYPE_CLASSIC) {
watch_set_pixel(2, 13);
watch_set_pixel(2, 15);
watch_set_pixel(1, 14); watch_set_pixel(1, 14);
watch_set_pixel(1, 13); watch_set_pixel(2, 14);
watch_set_pixel(1, 15); watch_set_pixel(1, 15);
watch_set_pixel(0, 14);
watch_set_pixel(0, 13);
} }
break; break;
case 4: case 4:
watch_display_text_with_fallback(WATCH_POSITION_BOTTOM, "FULL ", " FULL "); watch_display_text_with_fallback(WATCH_POSITION_BOTTOM, "FULL ", "LLENA ");
watch_display_text_with_fallback(WATCH_POSITION_TOP_LEFT, " ", " "); watch_display_text_with_fallback(WATCH_POSITION_TOP_LEFT, " ", " ");
if (watch_get_lcd_type() == WATCH_LCD_TYPE_CLASSIC) { if (watch_get_lcd_type() == WATCH_LCD_TYPE_CLASSIC) {
watch_set_pixel(2, 13); watch_set_pixel(2, 13);
@@ -120,33 +120,33 @@ static void _update(moon_phase_state_t *state, uint32_t offset) {
} }
break; break;
case 5: case 5:
watch_display_text_with_fallback(WATCH_POSITION_BOTTOM, "GbboUs", " Gibb "); watch_display_text_with_fallback(WATCH_POSITION_BOTTOM, "GbboUs", " GibMe");
watch_display_text_with_fallback(WATCH_POSITION_TOP_LEFT, "WAN", " "); watch_display_text_with_fallback(WATCH_POSITION_TOP_LEFT, "WAN", " ");
if (watch_get_lcd_type() == WATCH_LCD_TYPE_CLASSIC) { if (watch_get_lcd_type() == WATCH_LCD_TYPE_CLASSIC) {
watch_set_pixel(2, 13);
watch_set_pixel(2, 15);
watch_set_pixel(1, 14); watch_set_pixel(1, 14);
watch_set_pixel(2, 14); watch_set_pixel(1, 13);
watch_set_pixel(1, 15); watch_set_pixel(1, 15);
watch_set_pixel(0, 14);
watch_set_pixel(0, 13);
} }
break; break;
case 6: case 6:
watch_display_text_with_fallback(WATCH_POSITION_BOTTOM, "3rdQtr", " 3rd q"); watch_display_text_with_fallback(WATCH_POSITION_BOTTOM, "3rdQtr", "4#meng");
watch_display_text_with_fallback(WATCH_POSITION_TOP_LEFT, "WAN", " "); watch_display_text_with_fallback(WATCH_POSITION_TOP_LEFT, "WAN", " ");
if (watch_get_lcd_type() == WATCH_LCD_TYPE_CLASSIC) { if (watch_get_lcd_type() == WATCH_LCD_TYPE_CLASSIC) {
watch_set_pixel(2, 13);
watch_set_pixel(2, 15);
watch_set_pixel(1, 13);
watch_set_pixel(1, 14); watch_set_pixel(1, 14);
watch_set_pixel(2, 14);
watch_set_pixel(0, 14);
watch_set_pixel(0, 13);
} }
break; break;
case 7: case 7:
watch_display_text(WATCH_POSITION_BOTTOM, "CresNt"); watch_display_text(WATCH_POSITION_BOTTOM, "MENGUA");
watch_display_text_with_fallback(WATCH_POSITION_TOP_LEFT, "WAN", " "); watch_display_text_with_fallback(WATCH_POSITION_TOP_LEFT, "WAN", " ");
if (watch_get_lcd_type() == WATCH_LCD_TYPE_CLASSIC) { if (watch_get_lcd_type() == WATCH_LCD_TYPE_CLASSIC) {
watch_set_pixel(0, 14); watch_set_pixel(2, 13);
watch_set_pixel(0, 13); watch_set_pixel(2, 15);
if (currentfrac < 0.875) watch_set_pixel(2, 14); if (currentfrac < 0.875) watch_set_pixel(1, 13);
} }
break; break;
} }