kopia lustrzana https://github.com/micropython/micropython
docs/library/pyb.CAN: Update the recv example to take a 5-tuple.
A supplement to commit 5cdf964571
pull/9311/head
rodzic
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)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue