Next: , Previous: slave_allocate method, Up: MIN2Lua API


6.6.12 slave_free method

The slave_free functionality is used to free allocated slave device. As a parameter it takes handler to the slave.

Example:

     function case_function() -- run example
     	slavehnd = min.slave_allocate(SlaveTypePhone,"Slave1");
     	min.slave_free(slavehnd);
     end