From 71534c19bc7a74c5570f997f77bf586e30f58d78 Mon Sep 17 00:00:00 2001 From: tth Date: Sat, 23 Feb 2019 16:39:04 +0100 Subject: [PATCH] adding blinkenlight --- simulator/rdtemp/rdtemp.ino | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/simulator/rdtemp/rdtemp.ino b/simulator/rdtemp/rdtemp.ino index 6042e2f..3d7bc69 100644 --- a/simulator/rdtemp/rdtemp.ino +++ b/simulator/rdtemp/rdtemp.ino @@ -10,6 +10,7 @@ void setup() { Serial.begin(9600); pinMode(LED_BUILTIN, OUTPUT); + Serial.print("\n"); /* XXX */ /* changing the voltage reference of the ADC @@ -28,10 +29,12 @@ short adc_pins[] = { A0, A1, A2, A4 }; void updatevalues(short *ptr) { int foo; + digitalWrite(LED_BUILTIN, HIGH); for (foo=0; foo