hypermedia.picoip
index
 
Name ask ( )
Examples
None available
Description Ask for the given pin's value. To get the result (or perform actions on this event), you must implement in your code this method :
	void receive(int pin, int value) {
		// do something here...
	}
 

Return true on success, false otherwise.

notes : this method will be automatically called when the socket receive incoming data.

Syntax
ask(pin);
Parameters
pin   the pin index to be check
Returns boolean
Usage Web & Application
Related