When you startup your NXT, instead of showing the startup animation, it will prompt for a four digit code. The code must be entered correctly before you can access your NXT. If you enter the wrong code, the NXT will flash a message, otherwise, the program will end, allowing you to access your NXT. The dark grey button will turn off the NXT instead of ending the program.
If you use the enhanced NBC/NXC firmware, the dark grey exit button will not simple exit the program, instead it will turn off the NXT. LockCode can be used without the enhanced firmware, but this functionality will be disabled, decreasing the usefulness of this program.
The first time the program is run it will ask you to set a code. If you forget the code and want to set a new one, simply delete the file
LockCode.datfrom the NXT using something like NeXT Explorer or NeXT Commander. There is also a program included,
Delete Code.nxc, that will do the same.
Browse the source on GitHub
Attachment removed - download from GitHub instead