View unanswered posts | View active topics It is currently Thu Dec 18, 2014 1:25 pm






Reply to topic  [ 6 posts ] 
what is and what does bNxtLCDStatusDisplay 
Author Message
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post what is and what does bNxtLCDStatusDisplay
what is and what does bNxtLCDStatusDisplay?

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Fri Aug 29, 2008 12:26 pm
Profile
Rookie

Joined: Wed Jun 25, 2008 6:07 pm
Posts: 46
Post Re: what is and what does bNxtLCDStatusDisplay
My guess is that it is the boolean value that lets the firmware know whether or not to display the status info icons (program running, battery status, etc.) on the top of the screen while your program is running.

I recently came across it tangentially and ended up reporting bug 219 in the Mantis tracker.

If my guess is right, you should be able to write a program that clears the screen (which will cause the status line to go away), then set the bNxtLCDStatusDisplay value to 'true' and the status info at the top of the screen will come back.


Fri Aug 29, 2008 1:35 pm
Profile
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Re: what is and what does bNxtLCDStatusDisplay
hi,
thx so far, I'll test this :)

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Fri Aug 29, 2008 1:50 pm
Profile
Online
Novice

Joined: Sat Apr 12, 2008 11:09 am
Posts: 56
Location: holland
Post Re: what is and what does bNxtLCDStatusDisplay
Hello,


If you ad the folowing code in your program, you clear the display and after that you get the topline back.

erasedisplay();
bNxtLCDStatusDisplay=true;


Sun Aug 31, 2008 12:16 pm
Profile
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Re: what is and what does bNxtLCDStatusDisplay
hi,
yes, thx, it workes as described.
But may you use these extra pixels by nxtDisplayTextLine? Is there now an extra 8th line?

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Mon Sep 01, 2008 2:57 am
Profile
Online
Novice

Joined: Sat Apr 12, 2008 11:09 am
Posts: 56
Location: holland
Post Re: what is and what does bNxtLCDStatusDisplay
yes the first line is line 0
so if you write on line 0 the statusdisplay will be overwritten.


Thu Sep 04, 2008 3:42 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: nxt 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.