summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
authorbrentru <brent@xn.home>2017-07-26 19:24:58 -0400
committerScott Shawcroft <scott@tannewt.org>2017-07-27 19:15:51 -0700
commit48375ba954b387a1182d8a8bb1676fe2059bd183 (patch)
tree6c208fc922edcbf8c4d5b29953a7c6414ecaca11 /shared-bindings
parentf91493c97e20eef1d39a9cdc6c42a25cfd511734 (diff)
fixed naming on pulseIn example for docs
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/pulseio/PulseIn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-bindings/pulseio/PulseIn.c b/shared-bindings/pulseio/PulseIn.c
index 89196e841..5cdaa4cf3 100644
--- a/shared-bindings/pulseio/PulseIn.c
+++ b/shared-bindings/pulseio/PulseIn.c
@@ -74,10 +74,10 @@
//| print(pulses)
//|
//| # Clear the rest
-//| pulse_in.clear()
+//| pulses.clear()
//|
//| # Resume with an 80 microsecond active pulse
-//| pulse_in.resume(80)
+//| pulses.resume(80)
//|
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) {
mp_arg_check_num(n_args, n_kw, 1, MP_OBJ_FUN_ARGS_MAX, true);