NixeTubesShieldNCS314 icon indicating copy to clipboard operation
NixeTubesShieldNCS314 copied to clipboard

how to deactivate slot machine effect an date

Open Gauner101184 opened this issue 6 years ago • 7 comments

Hi,

i want to deactivate slot machine effect and showing date. Which lines i have to change in source code for disabling these features? I only want to show actual time without any effects.

Gauner101184 avatar Feb 13 '19 17:02 Gauner101184

I wouldn't recommend this, as it would drastically decrease the lifetime of your nixie tubes.

h3xcat avatar Feb 14 '19 02:02 h3xcat

If You still want this, You need to find and comment the string like this: if ((menuPosition == TimeIndex) || (modeChangedByUser == false) ) modesChanger();

afch avatar Feb 14 '19 22:02 afch

If You still want this, You need to find and comment the string like this: if ((menuPosition == TimeIndex) || (modeChangedByUser == false) ) modesChanger();

Thank you. It works fine.

Gauner101184 avatar Feb 15 '19 12:02 Gauner101184

If You still want this, You need to find and comment the string like this: if ((menuPosition == TimeIndex) || (modeChangedByUser == false) ) modesChanger();

Is it also possible to leave in the slotmachine effect for anti-poisoning and disable everything else. So the clock only displays time and every once in a while does a slotmachine effect. Thanks

z0ne123 avatar Jan 13 '20 14:01 z0ne123

Yes, it is possible. You can have only SlotMachine without Date and Temp display.

пн, 13 янв. 2020 г. в 16:07, z0ne123 [email protected]:

If You still want this, You need to find and comment the string like this: if ((menuPosition == TimeIndex) || (modeChangedByUser == false) ) modesChanger();

Is it also possible to leave in the slotmachine effect for anti-poisoning and disable everything else. So the clock only displays time and every once in a while does a slotmachine effect. Thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/afch/NixeTubesShieldNCS314/issues/14?email_source=notifications&email_token=AAROBMSPVYESZ6E3Z5BXVE3Q5RYQNA5CNFSM4GXHNAO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIY2LEQ#issuecomment-573678994, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAROBMUCAUEKURK6SWHYWETQ5RYQNANCNFSM4GXHNAOQ .

-- Alexey [GRA & AFCH]

afch avatar Jan 14 '20 12:01 afch

Yes, it is possible.

Can you elaborate how? I can't figure out how to do it in the regular settings (https://gra-afch.com/downloads/manuals/user-manuals-for-nixie-tubes-clocks-2/#more-12557) I have some basic programming skills, but I don't know what edits I have to do to get this to work!

I commented this line at the moment : // if ((menuPosition == TimeIndex) || (modeChangedByUser == false) ) modesChanger();

But this disables all except the time, slotmachine is disabled as well now.

z0ne123 avatar Jan 14 '20 12:01 z0ne123

Hello.

Please use attached screenshot from Debug window as reference. Comment highlighted portions as shown. And add line of code that is underlined at bottom of screenshot. That should omit the showing of date and temperature readings from SlotMachine routine.

If there will be questions, feel free to ask. Regards.

вт, 14 янв. 2020 г. в 14:34, z0ne123 [email protected]:

Yes, it is possible.

Can you elaborate how? I can't figure out how to do it in the regular settings, I have some basic programming skills, but I don't know what edits I have to do to get this to work!

I commented this line at the moment : // if ((menuPosition == TimeIndex) || (modeChangedByUser == false) ) modesChanger();

But this disables all except the time, slotmachine is disabled as well now.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/afch/NixeTubesShieldNCS314/issues/14?email_source=notifications&email_token=AAROBMVGYB4OCL27LCFACC3Q5WWL5A5CNFSM4GXHNAO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI4OFOY#issuecomment-574153403, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAROBMTLD6NG23CHALFF5QTQ5WWL5ANCNFSM4GXHNAOQ .

-- Alexey [GRA & AFCH]

afch avatar Jan 16 '20 11:01 afch