Please start tutorials here and make them simple. REMEMBER THIS TUTORIAL IS FOR THE NOVICE ONLY.
If you are going to use a smart pin please give a totally commented set of code.
Please comment on how paramaters are passed from high level code to p2asm..
In PNUT how to pass anything.