comparison src/calibrate.asm @ 236:e2ea74646127

configure hardware_flag byte
author heinrichsweikamp
date Wed, 25 Feb 2015 22:19:30 +0100
parents 23311219dacc
children 29acdb601548
comparison
equal deleted inserted replaced
235:23311219dacc 236:e2ea74646127
272 call get_analog_inputs 272 call get_analog_inputs
273 bra compute_ppo2_common 273 bra compute_ppo2_common
274 274
275 global compute_ppo2 ; compute mv_sensorX and ppo2_sensorX arrays 275 global compute_ppo2 ; compute mv_sensorX and ppo2_sensorX arrays
276 compute_ppo2: 276 compute_ppo2:
277 btfss rechargeable ; cR hardware? 277 btfss analog_o2_input ; cR hardware?
278 return ; No 278 return ; No
279 279
280 btfss s8_digital ; =1: Digital I/O 280 btfss s8_digital ; =1: Digital I/O
281 bra compute_ppo2_analog ; use analog 281 bra compute_ppo2_analog ; use analog
282 282