From: llandre <r&d2@dave-tech.it>
To: Mr navaneethan krishnan <nkddk@yahoo.co.in>
Cc: ecos-devel@ecos.sourceware.org
Subject: Re: Running Microwindows on monochrome/grayscale LCD
Date: Fri, 05 May 2006 13:19:00 -0000 [thread overview]
Message-ID: <445B5175.8080306@dave-tech.it> (raw)
In-Reply-To: <20060505105111.886.qmail@web8315.mail.in.yahoo.com>
Hi,
if I understand correctly you suggest to keep pixtype set to
MWPF_TRUECOLOR555 (or MWPF_TRUECOLOR565) and to use only G component to
paint the pixels, while R and B become just dummies. It it correct? What
about bpp field?
> Hi
> You can try like this
> Make R,B value equal to 0 , which will make G as display input for
> monochrome display
> So Assign r,b=0 in the code and try
> Thanks
> Sai
> */llandre <r&d2@dave-tech.it>/* wrote:
>
> Hi all,
>
> I have to write a couple of Microwindows screen drivers for monochrome
> and 4-bpp greyscale LCD panels. As reference I'm looking at
> src/drivers/scr_ecos.c but this supports color mode only (RGB 555 and
> RGB 565) and, for istance, I can't understand which pixel format I have
> to use (MWPF_PIXELVAL, MWPF_PALETTE ...) and if rmask, gmask and bmask
> have to be handled.
> I'd like to find a driver supporting monochrome or grayscale panels to
> use it as starting point. Anybody can provide such an example? Any hint
> or advice will be appreciated, too.
--
llandre
DAVE Electronics System House - R&D Department
web: http://www.dave-tech.it
email: r&d2@dave-tech.it
next parent reply other threads:[~2006-05-05 13:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20060505105111.886.qmail@web8315.mail.in.yahoo.com>
2006-05-05 13:19 ` llandre [this message]
2006-05-05 10:09 llandre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=445B5175.8080306@dave-tech.it \
--to=r&d2@dave-tech.it \
--cc=ecos-devel@ecos.sourceware.org \
--cc=nkddk@yahoo.co.in \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).