Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:43 07 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Reading a pixel colour

Author Message
Henk
Newbie

Joined: 06/10/2015
Location: Netherlands
Posts: 20
Posted: 01:04am 04 Feb 2017
Copy link to clipboard 
Print this post

I am using a explorer 100 with attached lcd display. I am looking for a way to read the colour a pixel is set. I thought I remembered that you could read the pixel colour in the past but I cannot find it in the manual. Is there a way or do I remember it wrong?

 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10215
Posted: 01:14am 04 Feb 2017
Copy link to clipboard 
Print this post

You need to make sure the RD pin to the display is connected and configured using

OPTION LCDPANEL SSD1963_x,L,,RDpinNo

Then just use col=PIXEL(x,y)

 
Henk
Newbie

Joined: 06/10/2015
Location: Netherlands
Posts: 20
Posted: 01:40am 04 Feb 2017
Copy link to clipboard 
Print this post

Thank's i am going to try it.
 
Henk
Newbie

Joined: 06/10/2015
Location: Netherlands
Posts: 20
Posted: 01:53am 04 Feb 2017
Copy link to clipboard 
Print this post

Seems it doesn't work. ERROR:PIXEL not declared. It things its a function. Also tried without brackets but another error shows up.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10215
Posted: 01:57am 04 Feb 2017
Copy link to clipboard 
Print this post

Are you running 5.3? It only appeared in that release
 
Henk
Newbie

Joined: 06/10/2015
Location: Netherlands
Posts: 20
Posted: 01:59am 04 Feb 2017
Copy link to clipboard 
Print this post

Oke i am using 5.2 so I first have to upgrade. thanks.
 
Henk
Newbie

Joined: 06/10/2015
Location: Netherlands
Posts: 20
Posted: 01:44am 05 Feb 2017
Copy link to clipboard 
Print this post

Next problem I try to program the explore 100 with the new firmware but MPLAB (latest version just downloaded) does not show the PIC32MX470 it goes to 460 and so it will not program the chip with my Pickit 3. How to program it with the new firmware?

Thanks.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10215
Posted: 01:49am 05 Feb 2017
Copy link to clipboard 
Print this post

You need the MPLabX IPE
 
Henk
Newbie

Joined: 06/10/2015
Location: Netherlands
Posts: 20
Posted: 02:19am 05 Feb 2017
Copy link to clipboard 
Print this post

Thanks I just discovered this. I have 3 icons on the desktop for Mplab and did not try this one. All very confusing this MPlab software.
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025