comparison code_part1/OSTC_code_asm_part1/ms5535.asm @ 714:b7f7184d800d

banksafe sensor init
author heinrichsweikamp
date Thu, 16 May 2013 14:16:09 +0200
parents 422b9eeace4f
children c50296c3059e
comparison
equal deleted inserted replaced
713:8c293e76a517 714:b7f7184d800d
216 #endif 216 #endif
217 return 217 return
218 218
219 ;============================================================================= 219 ;=============================================================================
220 get_calibration_data: 220 get_calibration_data:
221 banksel flag5
222 bsf no_sensor_int ; disable sensor interrupts
221 rcall reset_MS5535A 223 rcall reset_MS5535A
222 movlw d'13' 224 movlw d'13'
223 movwf clock_count 225 movwf clock_count
224 movlw b'01010100' ;+3*high as start and 1+low as stop! 226 movlw b'01010100' ;+3*high as start and 1+low as stop!
225 movwf isr1_temp 227 movwf isr1_temp