gonzopi

git clone https://git.tarina.org/gonzopi
Log | Files | Refs | README | LICENSE

commit cfc75c34a5144110e27862855a29496510c28e0d
parent 687358908c6213dfd248bf12cbc4553a7dbfcc37
Author: rob <rob@tarina.org>
Date:   Wed, 22 Nov 2023 12:36:30 +0000

stopmotion mode

Diffstat:
MVERSION | 2+-
Mgonzopi.py | 14+++++++++++---
2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/VERSION b/VERSION @@ -1,2 +1,2 @@ -1.43 +1.44 Jackson diff --git a/gonzopi.py b/gonzopi.py @@ -1325,7 +1325,10 @@ def main(): flip = 'yes' time.sleep(0.2) elif menu[selected] == 'LENGTH:': - reclenght = reclenght + 1 + if reclenght < 1: + reclenght = reclenght + 0.2 + else: + reclenght = int(reclenght + 1) time.sleep(0.1) elif menu[selected] == 'MIC:': if miclevel < 100: @@ -1483,9 +1486,14 @@ def main(): flip = 'yes' time.sleep(0.2) elif menu[selected] == 'LENGTH:': - if reclenght > 0: - reclenght = reclenght - 1 + if reclenght > 1: + reclenght = int(reclenght - 1) + time.sleep(0.1) + elif reclenght > 0.3: + reclenght = reclenght - 0.2 time.sleep(0.1) + else: + reclenght = 0 elif menu[selected] == 'MIC:': if miclevel > 0: miclevel = miclevel - 2