Stupid Question - How Stop Program

Hi all,

This is a stupid question, but do not even know how to do.
I’m doing my first program and I have a loop, as the code is always run my question is:
How to stop a program that is running?

Thanks

First of all, you don’t need infinite loops, second: pull the plug! :slight_smile:

Thanks for the reply.

Implemented a loop because I wanted to detect the RSSI of my wifi and walked to test for several different sites.

When you say pull the plug, is to disconnect the electric imp by usb?
There is no button to stop the process?

Thank you for your pacience. :slight_smile:

No button.
Best way to call a function is this

Thanks!

Thanks, I’ll investigate the API.