index
:
fpm-door-lock
master
R503 fingerprint door lock controller powered by ATmega328P.
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
main.c
2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 244a2b2..56ecc6c 100644
--- a/
main.c
+++ b/
main.c
@@ -123,6 +123,8 @@ int main(void)
sei();
for (;;) {
+ if (getvcc() < VCC_MIN)
+ LED_PORT |= (1 << LED_PIN);
}
return 0;