From a9fc80a9f3b98edfa2b5093ada4a53db111791b9 Mon Sep 17 00:00:00 2001 From: XIAO Yu <10670661+YUX@users.noreply.github.com> Date: Thu, 28 Dec 2023 13:14:59 +0800 Subject: [PATCH] Update wire.md fix typo --- content/learn/05.communication/01.wire/wire.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/learn/05.communication/01.wire/wire.md b/content/learn/05.communication/01.wire/wire.md index 2909170d87..bb68a4d6d4 100644 --- a/content/learn/05.communication/01.wire/wire.md +++ b/content/learn/05.communication/01.wire/wire.md @@ -108,7 +108,7 @@ To see the full API for the Wire library, visit its [documentation page](https:/ - `read()` - Reads a byte that was transmitted from a peripheral to a controller. - `setClock()` - Modify the clock frequency - `onReceive()` - Register a function to be called when a peripheral receives a transmission -- `onRequest()` - Register a function to be called hwen a controller requests data +- `onRequest()` - Register a function to be called when a controller requests data - `setWireTimeout()` - Sets the timeout for transmissions in controller mode - `clearWireTimeoutFlag()` - Clears the timeout flag - `getWireTimeoutFlag()` - Checks whether a timeout has occurred since the last time the flag was cleared.