project
Ghost Hand
Public Unreviewedby John Lauer
A small battery gadget that keeps an automatic sink faucet running while you use the sink: it learns the faucet's timeout, re-arms with the shortest blip, and stops after 10 minutes or when picked up.
main
John Lauer
Studio: project overview, how it works, lights, charging, battery life, firmware source, dashboard screenshots; licenseā¦
c2eaf61
3d ago
# host-side tests of the learner (plain gcc, no AVR toolchain needed)
CC ?= gcc
CFLAGS := -O2 -std=c11 -Wall -Wextra -Werror -I../src
all: run
test_learn: test_learn.c ../src/learn.c ../src/learn.h
$(CC) $(CFLAGS) test_learn.c ../src/learn.c -o $@
run: test_learn
./test_learn
clean:
rm -f test_learn