diff --git a/ardas/uncalibrated_sensors_generator.py b/ardas/uncalibrated_sensors_generator.py index 0e650cf..cfaafea 100644 --- a/ardas/uncalibrated_sensors_generator.py +++ b/ardas/uncalibrated_sensors_generator.py @@ -1,6 +1,6 @@ from ardas import sensor_tools as st # Saves a set of sensors including its calibration in a binary '.ssr' file -sensors = (st.FMSensor(sensor_id='0001', log_output=True), +sensors = (st.UncalibratedFMSensor(sensor_id='0001', log_output=True), st.UncalibratedFMSensor(sensor_id='0002', log_output=True), st.UncalibratedFMSensor(sensor_id='0003', log_output=True), st.UncalibratedFMSensor(sensor_id='0004', log_output=True), diff --git a/arduino_sketch/ardas.ino b/arduino_sketch/ardas.ino index 8f1f0f7..0f1cb45 100644 --- a/arduino_sketch/ardas.ino +++ b/arduino_sketch/ardas.ino @@ -24,7 +24,7 @@ #include #define PULSE_WIDTH_USEC 5 -#define READ_COUNTER_REGISTER_FREQ 2 // CHECK : should be 1 if SQW freq is 1 Hz +#define READ_COUNTER_REGISTER_FREQ 4 // CHECK : should be 1 if SQW freq is 1 Hz #define CLOCK_FREQ 4096 #define VERSION "Version ArDAS 1.0.1 [UMONS-GFA - 2016]" #define EOL '\r'