Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #17265

Re: Screen Control Fullscreen ON/OFF

References <d9c2e86d-eef1-4c5b-b5e0-d3c67e29368f@q16g2000yqn.googlegroups.com> <376e5d38-4384-4453-9719-302150827c58@a17g2000yqj.googlegroups.com>
Date 2011-12-15 12:44 +0100
Subject Re: Screen Control Fullscreen ON/OFF
From Nizamov Shawkat <nizamov.shawkat@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3668.1323949489.27778.python-list@python.org> (permalink)

Show all headers | View raw


>>
>> I would like to make fullscreen white and fullscreen black using
>> Python on Linux. With in the specs of the LCD, I want to be able to
>> display fullscreen white and black approximately at 30Hz. Frequency
>> (on/off per second) will be input manually which is between 1-40Hz.
>> Any idea where to start ? Can Python perform such fast thing ?
>
> Forgot to mention and sorry for the pollution ;
>
> My LCD has 2ms respond time thus it can handle a maximum of 50Hz ON/
> OFF (white/black) thus seems to fit my 1-40Hz range. I am not asking
> or looking for a fully working code, I just need some directions.


It depends on whether you want sync to vblank or not. If not, that is
pretty easy - use sleep() or something similar. If you have to use
sync (screen is always either black or white, never partly black and
white) then it is much much more difficult. Actually I do not know of
any way to sync to it.

Once upon a time I had a P-3/500 linux box with homemade python
program that would wait for RTC interrupts (which was set to 8192 Hz
frequency) and performed different combinations of ADC/DAC/Digital-IO
at required timesteps . It worked really very well and with
submillisecond resolution.

Hope it helps,
S.Nizamov

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Screen Control Fullscreen ON/OFF yeet <y.turgut@gmail.com> - 2011-12-15 02:59 -0800
  Re: Screen Control Fullscreen ON/OFF yeet <y.turgut@gmail.com> - 2011-12-15 03:12 -0800
    Re: Screen Control Fullscreen ON/OFF Nizamov Shawkat <nizamov.shawkat@gmail.com> - 2011-12-15 12:44 +0100
      Re: Screen Control Fullscreen ON/OFF Grant Edwards <invalid@invalid.invalid> - 2011-12-15 19:50 +0000
    Re: Screen Control Fullscreen ON/OFF Nizamov Shawkat <nizamov.shawkat@gmail.com> - 2011-12-15 13:18 +0100
    Re: Screen Control Fullscreen ON/OFF Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2011-12-15 15:19 +0100
      Re: Screen Control Fullscreen ON/OFF Yigit Turgut <y.turgut@gmail.com> - 2011-12-15 08:57 -0800
  Re: Screen Control Fullscreen ON/OFF 88888 Dihedral <dihedral88888@googlemail.com> - 2011-12-15 06:40 -0800

csiph-web