summaryrefslogtreecommitdiff
path: root/src/app/luxlog
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-01-08 11:16:35 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2020-01-08 11:16:35 +0100
commit2804752597795b957a7f002bafc92439aa327989 (patch)
treeb8aff710182fd6e42c5f5667223b59bba3ec6ea5 /src/app/luxlog
parentf1526ce0776e6464803b69948bdab404277dd17c (diff)
luxlog: red led while transmitting data
Diffstat (limited to 'src/app/luxlog')
-rw-r--r--src/app/luxlog/main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/luxlog/main.cc b/src/app/luxlog/main.cc
index 318ac5e..ae9a9f9 100644
--- a/src/app/luxlog/main.cc
+++ b/src/app/luxlog/main.cc
@@ -20,9 +20,11 @@ uint8_t loop_count = 0;
void loop(void)
{
if ((log_offset == 0) && (loop_count < 2)) {
+ gpio.led_on(1);
for (uint16_t i = 0; i < 4096; i++) {
kout << i << " = " << log[i] << endl;
}
+ gpio.led_off(1);
}
if ( (loop_count % 10) == 0) {