Upgraded Clock program in English

Startseite Foren LED-Nixie-Clock Upgraded Clock program in English

  • Dieses Thema hat 32 Antworten und 10 Teilnehmer, und wurde zuletzt aktualisiert vor 5 Jahre von tomtom.
Ansicht von 15 Beiträgen - 16 bis 30 (von insgesamt 33)
  • Autor
    Beiträge
  • #1304
    Folker Stange
    Verwalter

    Hi Jon, thx for your posting. I have informed our technician. Please have a moment…

    #1305
    ER-Tronik
    Verwalter

    There is a new IO.sys command for a smooth time correction. Please look at the actual Led-Nixie version from Vanessa how to use this command.

    #1306
    Jon
    Teilnehmer

    ER-Tronik,

    Is there a reason why the calibration is set with the io.sys every cycle in Vanessa’s code? Do we need to set the calibration before reading from the RTC? Can we just set it once (powerup and when the calibration value changes)?

    #1308
    Vanessa
    Moderator

    Hi Jon
    this was only from older program versions. We now changed this in Version 2.02.
    You can find this in the download area of LED-Genial.
    Thank you for reminding us.

    Regards
    Vanessa

    #1309
    Folker Stange
    Verwalter

    Hi Jon,
    the link:
    LED-BASIC

    thx Vanessa 🙂

    #1310
    Vanessa
    Moderator

    Hi Folker
    thx for posting our program 🙂

    #1311
    Folker Stange
    Verwalter

    Liebe Vanessa, das ist mir doch ein wirkliches Vergnügen !

    #1312
    Vanessa
    Moderator

    🙂 🙂

    #1313
    Jon
    Teilnehmer

    Ok, that makes more sense now!

    Vanessa nice work… I’m sure I made a mess! 😀

    I’ll take a look and try to add the flicker back in and not disrupt the rest (if that’s ok).

    #1315
    Chris
    Teilnehmer

    Hi Vanessa. I installed the 2.02 you uploaded to the LED Basic site, however the fade function no longer works. I set the fade on the unit itself under system option 7 as well as tried using the un-commented EEPROM setting from the basic file. Neither settings show a fade effect.
    When I reinstalled Jon’s 2.02 the fade works fine. Just FYI.

    #1316
    Vanessa
    Moderator

    Hi Chris,
    did you reset the clock after installing Vanessa2.02 at systemstart ?
    See Manual.
    We have testet this software on our LED-Nixie and this will work fine. :-).
    maybe it was a little to dark outside. It depents on the brigtness. Try setting the brightness to 12 or 15.
    Regards
    Vanessa

    #1317
    Vanessa
    Moderator

    Hello Chris again…
    if second flip mode is enabled, fade won´t work. See manual.

    have a nice day
    Vanessa

    #1321
    TheraVet
    Teilnehmer

    Hallo Ihr Lieben!

    I built the LED-Nixie yesterday and I am stunned by its look in reality (much better than on pictures or videos) and all the possibilities I have with LED Basic.

    I am a little distracted by the display of seconds, so I would like to display the day and time at once.
    I managed getting the day to the first digits by changing code to

    s = IO.getrtc(3)
        n = s / 10
        p = 0
        gosub 1000      
        n = s % 10
        p = 10
        gosub 1000   
        goto 520

    and hours and minutes to the last digits by simply changing the p = number.

    Now I would like to display the date digits in a different color. I guess I have to change something in the color mode section, but I do’t know how. It would be alright if controller chose the next color code from the data line for the first two digits (like date digits color 50 and time 20).

    Unfortunately I broke one of the 0s (you might have heard my screech), so if you could tell me how I can switch it off (very first digit), that would be awesome! Like Doug wrote, I don’t need the day displayed with a leading zero.

    Thank you very much in advance for your help and keep up the good work!

    • Diese Antwort wurde geändert vor 6 Jahre, 9 Monaten von TheraVet.
    #1323
    Jon
    Teilnehmer

    TheraVet,

    The color is set at a global level (of sorts). The display routine for the clock (all modes) is at 1000:

    If you wanted to „hack“ it (which is what I’d do to start), I would take over one of the color modes (multi-color maybe). Something like:

    t = read 20, 5 ‚ read colour value from index
    if p < 20 then t = read 20, 4 ‚ read a different color for date
    LED.ihsv(1, t, 255, v – b) ‚ set „standard 1 colour“ at brightness V
    goto 1090

    This would use color „5“ for the time, and color „4“ for your date. With some more work you could make this change with the dial.

    As for skipping the 0 digit, you just need to add an if before the gosub:

    n = s / 10
    p = 0
    if n <> 0 then gosub 1000

    I didn’t test any of this, but feel free to let me know if you need any additional assistance (of if I’ve misunderstood what you wanted)

    #1326
    TheraVet
    Teilnehmer

    You understood everything very well! Thank you! 🙂

    Skipping the 0 works perfectly fine.

    For testing the colors I deleted all the presets:

    'color mode
    1000:
        t = read 20, 4
        if p < 20 then t = read 20, 10
        LED.ihsv(1, t, 255, v)
        goto 1090
    1090:
        LED.iled(1, p + read 10, n)
        return

    See the result yourself 😀
    2-coloured LED Nixie

    Thank you very much! I keep tinkering!

    *edit*
    If I write
    t = read 20, c
    if p < 20 then t = read 20, c+6

    I can change color combinations by poti. But I don’t see a pattern (yet)…

Ansicht von 15 Beiträgen - 16 bis 30 (von insgesamt 33)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.