Wrote code to implement camera
[matches/MCTX3420.git] / server / dilatometer.h
index 6635cdb..7bb9447 100644 (file)
@@ -1,14 +1,17 @@
 /**
  * @file dilatometer.h
- * @purpose Declarations for functions to deal with dilatometer
+ * @brief Declarations for functions to deal with dilatometer
  */
 
 #include "common.h"
 
 //Threshold to determine the edge of the can
-#define THRES 200
+#define THRES 230
+
+//Number of samples of the image to take
+#define SAMPLES 600
 
 extern void Dilatometer_Init(); // Initialise the dilatometer
 extern void Dilatometer_Cleanup(); // Cleanup
-extern double Dilatometer_Read( int samples); // Read the dilatometer
+extern bool Dilatometer_Read( double * value); // Read the Dilatometer
 

UCC git Repository :: git.ucc.asn.au