Add basic time-based light sensor code

This commit is contained in:
fruchti 2020-07-11 21:04:07 +02:00
parent dc7bdb006c
commit 6d63b76a02
6 changed files with 158 additions and 9 deletions

View file

@ -14,6 +14,9 @@
#define PIN_LED_G_3 13
#define PIN_LED_B_3 14
// Port B
#define PIN_LIGHT_SENSOR 1 // ADC_IN9
// Port F
#define PIN_ROW_DATA 0 // Shift register data in
#define PIN_ROW_SCK 1 // Shift register clock