avr: added brightness sensor

This commit is contained in:
Martin Preuss
2025-06-23 19:21:49 +02:00
parent 409155f0d0
commit 9ea722607f
12 changed files with 229 additions and 12 deletions

View File

@@ -146,3 +146,14 @@
; ---------------------------------------------------------------------------
; Brightness
.equ BRIGHTNESS_ADC_PORT = PORTA ; adc0
.equ BRIGHTNESS_ADC_DDR = DDRA
.equ BRIGHTNESS_ADC_PIN = PORTA0
.equ BRIGHTNESS_ADC_MUX = 0