Stop Method
@bp.method('device.stop')
This method will be called when pressing the stop button of either the device or the global emergency button.
Call the hardware methods which stop your hardware operating from here.
Parameters
There are no parameters passed to this function.