|
Page 1 of 1
|
[ 8 posts ] |
|
Author |
Message |
docilio
Expert
Joined: Sun Sep 09, 2007 10:12 am Posts: 116
|
 HOW TO NOT DELETE ON NXT
Is there any way to prevent files to be delected on NXT ?
I really need it, there is any firmware that allows it?
Thanks
|
Mon Nov 17, 2008 7:15 pm |
|
 |
mightor
Site Admin
Joined: Wed Mar 05, 2008 8:14 am Posts: 3654 Location: Rotterdam, The Netherlands
|
 Re: HOW TO NOT DELETE ON NXT
Deleted by the user or by the system or when you upload a new FW?
Xander
_________________| Professional Conduit of Reasonableness| (Title bestowed upon on the 8th day of November, 2013) | My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
Tue Nov 18, 2008 4:24 am |
|
 |
docilio
Expert
Joined: Sun Sep 09, 2007 10:12 am Posts: 116
|
 Re: HOW TO NOT DELETE ON NXT
The idea is the NXT be on a exhibition.
So, the public(user) should not be able to delete anything...
I only want that the NXT execute one (or two) programs.
it is possible to , for example, when i turn on the robot, it will execute the program ? and nothing else would be available?
In that case, when we (programmers) want to delete anything, we upload the regular firmware...
|
Tue Nov 18, 2008 6:25 am |
|
 |
nxt
Novice
Joined: Sat Apr 12, 2008 11:09 am Posts: 60 Location: holland
|
 Re: HOW TO NOT DELETE ON NXT
You could set the number of exitclicks verry high in your program. No one can exit your program this way and thus not delete it.
|
Sun Nov 23, 2008 3:47 pm |
|
 |
docilio
Expert
Joined: Sun Sep 09, 2007 10:12 am Posts: 116
|
 Re: HOW TO NOT DELETE ON NXT
yes, but when it's turned off, that i will be again...
and if i press the exit button for a while, it turns off...
|
Sun Nov 23, 2008 3:50 pm |
|
 |
Ford Prefect
Guru
Joined: Sat Mar 01, 2008 12:52 pm Posts: 1030
|
 Re: HOW TO NOT DELETE ON NXT
maybe try to set the number of exit clicks to a negative value...
_________________ 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)}
|
Sun Nov 23, 2008 4:17 pm |
|
 |
sagymboy
Rookie
Joined: Sun Nov 09, 2008 3:29 am Posts: 3
|
 Re: HOW TO NOT DELETE ON NXT
first, like ford said, negative exit clicks if possible. next, make sure that your nxt can't turn off because of a time limit (if you have looping code, put alive(1); (maybe mess around with the alive number too make it work better (negative number?)) somewhere in frequently running code. next, for keeping it alive battery wise, get the rechargeable battery pack with the powercord taped (duct taped) to the battery, and tape the power adapter to the wall also. as of actually keeping everyone from the programs if they reset the nxt, well there isn't a fix. Make sure to cover the reset button on your robot.
|
Fri Jan 02, 2009 1:27 am |
|
 |
docilio
Expert
Joined: Sun Sep 09, 2007 10:12 am Posts: 116
|
 Re: HOW TO NOT DELETE ON NXT
thanks
|
Fri Jan 02, 2009 6:08 am |
|
|
|
Page 1 of 1
|
[ 8 posts ] |
|
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
|
|