View unanswered posts | View active topics It is currently Mon May 25, 2020 4:03 am

Reply to topic  [ 1 post ] 
getpixel(x,y) function error 
Author Message

Joined: Sat Apr 12, 2008 11:09 am
Posts: 60
Location: holland
Post getpixel(x,y) function error
I am trying to make a program what can make a screenshot of the NXT screen.
The idea is to read pixel by pixel from the screen with the getPixel(x,y) function.
storing it in a file and read it when needed.
Emulated on the PC it works (stored the data in an array in stead of a file).
The getPixel function on the NXT has weird behavour.
task main()
   int x=1,y=1;

This code generates 4 exceptions when running.

Sometimes the NXT goes to clicking mode.
Same results with robotC 4.5 and 4.3
Any ideas?


Mon Oct 05, 2015 5:56 pm
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.