How do I set the adc for a simple use in the Digimesh? Can you give me a simple example?

Can you please provide some additional information on what you are looking for?
Please refer the product manual of DigiMesh, you will get an idea.