 (defn minutes-since [start-time]
   (float (/ (nanos-since start-time) 60000000000)))
 
-(defn handle-lux-rt [lux start-time]
+#_(defn handle-lux-rt [lux start-time]
   (let [offset (minutes-since start-time)]
     (swap! output conj [lux offset])))
+
+(defn sample-lux []
+  (swap! output conj [@common/lux (minutes-since @test-time)]))
 
 (def lux-30s (atom 0))
 

              XYMultipleSeriesRenderer
              XYSeriesRenderer]
             [org.achartengine ChartFactory]
             [android.graphics Bitmap$CompressFormat]))

(def peak-lux (atom 0))
(def test-time (atom 0))

(defn handle-lux [lux]
  (update-main ::lux-now


(declare runtime-test)

(def output (atom (ring-buffer 1000)))

(defn nanos-since [start-time]
  (-> (. System nanoTime)
