Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

barebone firmware #60

Open
Oxmaster opened this issue Oct 9, 2021 · 3 comments
Open

barebone firmware #60

Oxmaster opened this issue Oct 9, 2021 · 3 comments

Comments

@Oxmaster
Copy link

Oxmaster commented Oct 9, 2021

Can one compile this firmware so that the clock displays only time and nothing else? Time + autodimming only; no date, temperature etc.

My version has STC15W404AS

@zerog2k
Copy link
Owner

zerog2k commented Oct 15, 2021

look at some defines like
WITHOUT_DATE, WITHOUT_ALARM, WITHOUT_CHIME, etc
https://github.com/zerog2k/stc_diyclock/blob/master/src/main.c#L38-L54

@Oxmaster
Copy link
Author

I'm not quite sure if I understand the syntax.

enum keyboard decides what kind of menus are avaliable? Should I just delete lines from 31 to 59?

@zerog2k
Copy link
Owner

zerog2k commented Oct 15, 2021

you'll need to define those macros somewhere
could be as build flags to make, platformio.ini, or even just #defineing them at the top of the code

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants