docs/library/pyb.CAN: Update the recv example to take a 5-tuple.
A supplement to commit 5cdf9645711cc12b45e602ef5795c33895116fc4
This commit is contained in:
parent
d2f8127258
commit
c1ae7d7534
@ -252,7 +252,7 @@ Methods
|
||||
For example::
|
||||
|
||||
buf = bytearray(8)
|
||||
lst = [0, 0, 0, memoryview(buf)]
|
||||
lst = [0, 0, 0, 0, memoryview(buf)]
|
||||
# No heap memory is allocated in the following call
|
||||
can.recv(0, lst)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user