afch / NixeTubesShieldNCS314

Firmware (Sketch) for Arduino UNO/MEGA and GRA & AFCH Nixie Tubes Shield NCS314-4 Tubes, NCS314-6 Tubes and NCS312-6 Tubes by GRA & AFCH
https://www.gra-afch.com
57 stars 51 forks source link

how to deactivate slot machine effect an date #14

Open Gauner101184 opened 5 years ago

Gauner101184 commented 5 years ago

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.

h3xcat commented 5 years ago

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

afch commented 5 years ago

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

Gauner101184 commented 5 years ago

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.

z0ne123 commented 4 years ago

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

afch commented 4 years ago

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

пн, 13 янв. 2020 г. в 16:07, z0ne123 notifications@github.com:

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]

z0ne123 commented 4 years ago

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.

afch commented 4 years ago

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 notifications@github.com:

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]