From 9c3ff3ca4ac5eb076fd6add2e5f14c294e915567 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 8 Jan 2015 19:30:59 +0100 Subject: o Implementing reading of values from the real thing. --- trygvisio_soil_moisture.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'trygvisio_soil_moisture.ino') diff --git a/trygvisio_soil_moisture.ino b/trygvisio_soil_moisture.ino index ecadbdf..f908e4a 100644 --- a/trygvisio_soil_moisture.ino +++ b/trygvisio_soil_moisture.ino @@ -97,6 +97,8 @@ static void setup_rf() { // The second parameter is for turning debug printing on for the ACI Commands and Events so they be printed on the Serial lib_aci_init(&aci_state, false); Serial.println(F("lib_aci_init done")); + + sm_setup(); } static boolean rf_started = false; @@ -331,7 +333,7 @@ void loop() { } } - sm_on_loop(); + sm_loop(); } static void show_pipes() { -- cgit v1.2.3