Mercurial > public > hwos_code
comparison src/adc_lightsensor.asm @ 154:afa31c815f24
NEW: Show ppO2 for change depth during gas setup
author | heinrichsweikamp |
---|---|
date | Wed, 27 Aug 2014 17:38:21 +0200 |
parents | 19ad15f04f60 |
children | 683321c09cfa |
comparison
equal
deleted
inserted
replaced
153:0bd6dff01204 | 154:afa31c815f24 |
---|---|
349 bcf adc_running ; =1: The ADC is in use | 349 bcf adc_running ; =1: The ADC is in use |
350 return | 350 return |
351 | 351 |
352 global piezo_config ; Sets up piezo sensitivity of heinrichs weikamp Piezo buttons (~30ms) | 352 global piezo_config ; Sets up piezo sensitivity of heinrichs weikamp Piezo buttons (~30ms) |
353 piezo_config: ; Settings between 20 and 200 | 353 piezo_config: ; Settings between 20 and 200 |
354 movlw .20 ; right button | 354 movlw .100 ; right button |
355 rcall piezo_config_tx | 355 rcall piezo_config_tx |
356 movlw .20 ; left button | 356 movlw .100 ; left button |
357 rcall piezo_config_tx | 357 rcall piezo_config_tx |
358 movlw .200 ; reserved | 358 movlw .200 ; reserved |
359 rcall piezo_config_tx | 359 rcall piezo_config_tx |
360 movlw .200 ; reserved | 360 movlw .200 ; reserved |
361 rcall piezo_config_tx | 361 rcall piezo_config_tx |