From 1bd7040efe360789a3f2999948b80498a4528258 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Thu, 24 Oct 2024 05:24:43 -0400 Subject: most things working --- test_fw/src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test_fw/src/main.cpp') diff --git a/test_fw/src/main.cpp b/test_fw/src/main.cpp index dd7240a..0370408 100644 --- a/test_fw/src/main.cpp +++ b/test_fw/src/main.cpp @@ -184,6 +184,8 @@ void loop() { const auto lux_value = lux.lux(); analogWrite(LED_STORAGE, map(static_cast(lux_value), 200, 1000, 0, 255)); + + analogWrite(LED_CAPTURING, digitalRead(CARD_DETECT) ? 0 : 24); static sensors_vec_t accel, gyro; -- cgit v1.3.1