Mercurial > public > hwos_code
comparison src/adc_lightsensor.asm @ 152:19ad15f04f60
BUGFIX: Clear Setpoint-Fallback warning when in bailout
NEW: 180? display rotation option
author | heinrichsweikamp |
---|---|
date | Thu, 21 Aug 2014 10:19:03 +0200 |
parents | 5cb177f0948a |
children | afa31c815f24 |
comparison
equal
deleted
inserted
replaced
151:5cb177f0948a | 152:19ad15f04f60 |
---|---|
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 .100 ; right button | 354 movlw .20 ; right button |
355 rcall piezo_config_tx | 355 rcall piezo_config_tx |
356 movlw .100 ; left button | 356 movlw .20 ; 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 |