pi_clock

Crude and unpolished clock for Raspberry Pi
git clone https://git.e1e0.net/pi_clock.git
Log | Files | Refs | README | LICENSE

commit e7976530c0eb435943b5d15011c91f7bfb694d57
parent 29471cd63dda1bf883369bee4d5c1f9a623592c9
Author: Paco Esteban <paco@e1e0.net>
Date:   Wed,  2 Sep 2020 19:30:48 +0200

adapt button1 to new button board adapter

Diffstat:
Mclock.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/clock.c b/clock.c @@ -33,14 +33,14 @@ #define MAX_LINE_LEN 17 /* 16 char display + '\0' */ #define LCD_LINES 2 #define I2C_ADDRESS 0x3f -#define BUTTON1 3 +#define BUTTON1 0 #define DEF_R_INTER 120 /* default 30s (250ms * 120) */ #define DEF_SLEEP_INTER 250 #define DEF_BL_BEFORE 0 #define DEF_BL_AFTER 7 #define TAG_MAX_LEN 7 -#define PIC_VERSION "v0.5.0" +#define PIC_VERSION "v0.5.1" lcd_i2c_t *init_lcd(void); char * setmonth(int);