diff options
Diffstat (limited to 'test_fw/src/main.cpp')
| -rw-r--r-- | test_fw/src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<int>(lux_value), 200, 1000, 0, 255)); + + analogWrite(LED_CAPTURING, digitalRead(CARD_DETECT) ? 0 : 24); static sensors_vec_t accel, gyro; |
