I have been trying to add a new button to toolbox and unable to do that. I have read all the technical knowledge base to no avail. Kindly any one guide from scratch.
The following defines a button.
define button "My But", "PORT1=0xFF"
"I have read all the technical knowledge base to no avail" Have you also read the uVision Getting Started Guide? This shows you how to do it.