Skip to content

Commit 48375ba

Browse files
brentrutannewt
authored andcommitted
fixed naming on pulseIn example for docs
1 parent f91493c commit 48375ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-bindings/pulseio/PulseIn.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@
7474
//| print(pulses)
7575
//|
7676
//| # Clear the rest
77-
//| pulse_in.clear()
77+
//| pulses.clear()
7878
//|
7979
//| # Resume with an 80 microsecond active pulse
80-
//| pulse_in.resume(80)
80+
//| pulses.resume(80)
8181
//|
8282
STATIC mp_obj_t pulseio_pulsein_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *pos_args) {
8383
mp_arg_check_num(n_args, n_kw, 1, MP_OBJ_FUN_ARGS_MAX, true);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy