Mercurial > public > hwos_code
comparison src/adc_lightsensor.asm @ 151:5cb177f0948a
work on flip screen...
author | heinrichsweikamp |
---|---|
date | Mon, 18 Aug 2014 17:37:00 +0200 |
parents | 9a637c9bb19a |
children | 19ad15f04f60 |
comparison
equal
deleted
inserted
replaced
150:074b1a9ded7b | 151:5cb177f0948a |
---|---|
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 |