Whatever you do, still there is a chance that with slight extertise, someone might replicate the exact memory of ur pic to his hardware and thus there will be no need to get ur code as it is just like creating mirrors of ur device. However decompiling this memory or hex code is a challenge for most people..
- - - Updated - - -
However if you wish to protect ur system, you may apply for a patent so that even if anyone tries to use it, you can legally sue that person for using ur technology..