Description
This function registers a function to be called when a controller device requests data from a peripheral device.
Syntax
Wire.onRequest(handler)
Parameters
-
handler: the function to be called, takes no parameters and returns nothing.
Returns
None.