Download Yocto-MiniDisplay, user manual
Transcript
21. High-level API Reference anbutton→set_logicalName() anbutton→setLogicalName() YAnButton Changes the logical name of the analog input. js function set_logicalName( newval) nodejs function set_logicalName( newval) php function set_logicalName( $newval) cpp int set_logicalName( const string& newval) -(int) setLogicalName : (NSString*) newval m pas function set_logicalName( newval: string): integer vb function set_logicalName( ByVal newval As String) As Integer cs int set_logicalName( string newval) java int set_logicalName( String newval) py def set_logicalName( newval) cmd YAnButton target set_logicalName newval You can use yCheckLogicalName() prior to this call to make sure that your parameter is valid. Remember to call the saveToFlash() method of the module if the modification must be kept. Parameters : newval a string corresponding to the logical name of the analog input. Returns : YAPI_SUCCESS if the call succeeds. On failure, throws an exception or returns a negative error code. 312 www.yoctopuce.com