Commit 3b33d355 authored by Matthieu Cattin's avatar Matthieu Cattin Committed by Projects

sw: use bigger font for clock.

parent ea3b42ef
......@@ -158,8 +158,14 @@ C_SRC += \
../common/gfx/font_helv11.c \
../common/gfx/font_helv17.c \
../common/gfx/font_helv17b.c \
../common/gfx/font_helv22b.c \
../common/gfx/font_helv29.c \
../common/gfx/font_helv38b.c \
../common/gfx/font_luct38.c \
../common/gfx/font_xm4x5.c \
../common/gfx/font_xm4x6.c \
../common/gfx/font_xm5x8.c \
../common/gfx/font_xm16x25b.c \
../common/udelay.c \
../common/delay.c \
../common/drivers/i2cdrv.c \
......
......@@ -166,7 +166,7 @@ int main(void)
err = max17047_set_config(0x2250);
//GPIO_PinOutSet(gpioPortE, 11);
//GPIO_PinOutSet(gpioPortE, 12);
GPIO_PinOutSet(gpioPortE, 12);
while(1)
{
......@@ -184,8 +184,10 @@ int main(void)
lcd_clear();
sprintf(str, "%02d:%02d:%02d.%1d", hours, minutes, milliseconds/1000, (milliseconds%1000)/100);
text(&font_helv17b, 5, 20, str);
sprintf(str, "%02d:%02d", hours, minutes);
text(&font_helv38b, 5, 20, str);
sprintf(str, "%02d.%1d", milliseconds/1000, (milliseconds%1000)/100);
text(&font_helv22b, 89, 34, str);
sprintf(str, "light: %3.3f lux", lux);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment