Announcement

Collapse
No announcement yet.

Keeping Single Pixel On Continuously (uOLED-96-G1)?

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

  • Keeping Single Pixel On Continuously (uOLED-96-G1)?

    I want to keep a single pixel on without flickering/screen refresh; is this possible in PMOLED? I don't care about the other pixels. I am using the IO pin to say when the pixel should be on. Below is what I tried, but the pixel flashes at ~few hundred Hz even when the code says it should stay on (function generator connected to IO pin has slow frequency ~1Hz). Any ideas?


    #platform "GOLDELOX"
    #inherit "4DGL_16bitColours.fnc"

    func main()
    var x,y;
    var ON;

    pin_Set(INPUT,IO1), 0; // sets IO1 to be used as digital input
    x := 50;
    y := 60;

    *TIMER0 := 5000; // 5 seconds of strobing
    while (*TIMER0) // while timer has not expired
    if (pin_Read(IO1)==0 & ON == 0)
    gfx_PutPixel(x,y,RED);
    ON := 1;
    else if (pin_Read(IO1)==1 & ON == 1)
    gfx_PutPixel(x,y,BLACK);
    ON := 0;
    endif
    wend
    ProgramExit();
    endfunc

  • #2


    Oleds, LCDs, etc. are all inherently scanning technologies.

    This means that even though, to the naked eye, the light looks to be 'on', in actual fact it is flashing/flickering at a rate that cannot be seen by the unaided eye.
    Mark

    Comment


    • #3


      Thanks for the reply. I know that it has to scan lines, but since I only care about a single pixel, I thought I could potentially just bias a row contact and a column contact and have the pixel stay on. Is this not feasible? Is there some way to program at this low-level of hardware?

      Comment


      • #4


        I don't think you can stop the low level hardware from scanning.

        Have a look at the display drive datasheet and see if you can figure out a way to stop it scanning http://www.4dsystems.com.au/downloads/micro-OLED/uOLED-96-PROP/Docs/Pdf/SSD1331.pdf

        Be warned that you may well destroy the display.
        Mark

        Comment

        Working...
        X