comparison src/adc_lightsensor.asm @ 118:abd30446e1cd

show heading with leading zeros
author heinrichsweikamp
date Fri, 27 Jun 2014 10:18:41 +0200
parents 6c577737c34e
children e2f04bb2539c
comparison
equal deleted inserted replaced
117:6c577737c34e 118:abd30446e1cd
322 bcf adc_running ; =1: The ADC is in use 322 bcf adc_running ; =1: The ADC is in use
323 return 323 return
324 324
325 global piezo_config ; Sets up piezo sensitivity of heinrichs weikamp Piezo buttons (~30ms) 325 global piezo_config ; Sets up piezo sensitivity of heinrichs weikamp Piezo buttons (~30ms)
326 piezo_config: ; Settings between 20 and 200 326 piezo_config: ; Settings between 20 and 200
327 movlw .25 ; right button 327 movlw .20 ; right button
328 rcall piezo_config_tx 328 rcall piezo_config_tx
329 movlw .25 ; left button 329 movlw .20 ; left button
330 rcall piezo_config_tx 330 rcall piezo_config_tx
331 movlw .200 ; reserved 331 movlw .200 ; reserved
332 rcall piezo_config_tx 332 rcall piezo_config_tx
333 movlw .200 ; reserved 333 movlw .200 ; reserved
334 rcall piezo_config_tx 334 rcall piezo_config_tx