Check up the power supply as well as the electrical environment and other devices connected to the controller.
Snippets of code is not advised in the link: How to get the best out of this forum - Using Arduino / IDE 1.x - Arduino Forum
Check up the power supply as well as the electrical environment and other devices connected to the controller.
Snippets of code is not advised in the link: How to get the best out of this forum - Using Arduino / IDE 1.x - Arduino Forum