comparison src/ostc3.inc @ 23:e402813343b6

new option to switch samplingrate between 10s and 2s
author heinrichsweikamp
date Mon, 08 Jul 2013 12:38:16 +0200
parents 4e3f133dfbf4
children f51caad821b4
comparison
equal deleted inserted replaced
22:e01c39be267c 23:e402813343b6
70 #DEFINE warn_battery .9 70 #DEFINE warn_battery .9
71 71
72 72
73 ; Profile recording parameters 73 ; Profile recording parameters
74 #DEFINE logbook_profile_version 0x23 74 #DEFINE logbook_profile_version 0x23
75 #DEFINE samplingrate .10 ; [seconds]
76 #DEFINE samplingrate_apnoe .1 ; [seconds] 75 #DEFINE samplingrate_apnoe .1 ; [seconds]
77 ; Warning: Divisors must be <.16 ! 76 ; Warning: Divisors must be <.16 !
78 #DEFINE div_temperature .6 ; x samplingrate [s] 77 #DEFINE div_temperature .6 ; x samplingrate [s]
79 #DEFINE div_deco .6 ; x samplingrate [s] 78 #DEFINE div_deco .6 ; x samplingrate [s]
80 #DEFINE div_gf .12 ; x samplingrate [s] 79 #DEFINE div_gf .12 ; x samplingrate [s]
398 apnoe_max_pressure res 2 397 apnoe_max_pressure res 2
399 398
400 ; Divemode 399 ; Divemode
401 divemins res 2 400 divemins res 2
402 divesecs res 1 401 divesecs res 1
402 samplingrate res 1
403 samplesecs_value res 1 403 samplesecs_value res 1
404 divisor_temperature res 1 404 divisor_temperature res 1
405 divisor_deco res 1 405 divisor_deco res 1
406 divisor_gf res 1 406 divisor_gf res 1
407 divisor_ppo2_sensors res 1 407 divisor_ppo2_sensors res 1
501 opt_aGF_low res 1 ; Alternative GF LOW 501 opt_aGF_low res 1 ; Alternative GF LOW
502 opt_GF_high res 1 ; GF HIGH 502 opt_GF_high res 1 ; GF HIGH
503 opt_GF_low res 1 ; GF LOW 503 opt_GF_low res 1 ; GF LOW
504 opt_enable_aGF res 1 ; =1: aGF can be selected underwater 504 opt_enable_aGF res 1 ; =1: aGF can be selected underwater
505 opt_compass_gain res 1 ; 0-7 (230LSB/Gauss to 1370LSB/Gaus) 505 opt_compass_gain res 1 ; 0-7 (230LSB/Gauss to 1370LSB/Gaus)
506 opt_sampling_rate res 1 ; =1: 2s, =0: 10s
506 507
507 ;-----------------------------EEPROM DATA ------------------------------------ 508 ;-----------------------------EEPROM DATA ------------------------------------
508 ; Automatic reset of all options when this is changed: 509 ; Automatic reset of all options when this is changed:
509 #define eeprom_opt_serial 0x0005 ; Version 0.5 510 #define eeprom_opt_serial 0x0005 ; Version 0.5
510 511