comparison src/calibrate.asm @ 235:23311219dacc

under construction: new hardware_flag to configure different hardware versions
author heinrichsweikamp
date Wed, 25 Feb 2015 16:49:59 +0100
parents 03946aa48fa5
children e2ea74646127
comparison
equal deleted inserted replaced
234:57155164faad 235:23311219dacc
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 cr_hardware ; cR hardware? 277 btfss rechargeable ; 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