Announcement

Collapse
No announcement yet.

Preserving Variables

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Preserving Variables

    Hi everyone, I'm new here but have searched the Forum for a simple answer to this question and didn't find one, so hoping others can help.

    I have a program on my gen4-uLCD-24PT that lets the user select from a list of videos to play on the screen. I want some easy way to preserve the user's selection (vidNum 0 through 4) when the screen is powered down, so that when it comes up again, the same number video will play.

    It doesn't look like Picasso has flash banks, so what's the easiest way to accomplish this?

    Thanks in advance for your help!

  • #2
    Hello Robbok,

    You could try using the uSD card as some sort of non-volatile memory. I've attached a ViSi sample program to demonstrate this. You might want to read the Media Functions section of the Reference Manual for more clarity on this.

    Best Regards,
    Michael
    Attached Files
    Last edited by michael_4D; 31 May 2018, 08:00 PM.
    Michael

    Comment


    • #3
      Thanks Michael for the quick reply and code sample. I was able to adapt that to my code and it's working great on my display. Very helpful!

      Thanks again.

      --Rob

      Comment


      • #4
        No Worries, Rob

        Please don't hesitate to ask us if you have other inquiries.

        Best Regards,
        Michael
        Michael

        Comment

        Working...
        X