telelco-v3.0: Support ambient light sensor
authorKeith Packard <keithp@keithp.com>
Thu, 20 Jun 2024 06:02:30 +0000 (23:02 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 20 Jun 2024 06:02:30 +0000 (23:02 -0700)
commitff6116f1a65a1a623a5b00759e5b922c3f482278
tree0bf1c93e63cab0930ea32463f574a635e10daeff
parent18f3c100b7073bd9aeaedfacc25324a7771b0723
telelco-v3.0: Support ambient light sensor

A TEPT5700 ALS and 15k resistor from 3.3V to ground hooked to ADC10 on
PC0.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_lco.h
src/drivers/ao_lco_bits.c
src/telelco-v3.0/Makefile
src/telelco-v3.0/ao_lco_v3.c
src/telelco-v3.0/ao_pins.h
src/telelco-v3.0/ao_telelco.c