Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 429 Bytes

File metadata and controls

30 lines (21 loc) · 429 Bytes
title
onRequest()

onRequest

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.