updated descriptions and build variable

This commit is contained in:
Daniel Pollard 2020-05-07 12:42:46 +10:00
parent 8961dd9fe7
commit 84c806a4be
2 changed files with 4 additions and 4 deletions

View File

@ -110,7 +110,7 @@ endif
CFLAGS += -DCIRCUITPY_DIGITALIO=$(CIRCUITPY_DIGITALIO)
ifndef CIRCUITPY_COUNTIO
CIRCUITPY_COUNTIO ?= 1
CIRCUITPY_COUNTIO = 1
endif
CFLAGS += -DCIRCUITPY_COUNTIO=$(CIRCUITPY_COUNTIO)

View File

@ -11,15 +11,15 @@
//| .. currentmodule:: countio
//|
//| :class:`Counter` -- Track the count of edge transistions (pulses) on a given pin
//| :class:`Counter` -- Track the count of falling edge transistions (pulses) on a given pin
//| ====================================================================================
//|
//| Counter will keep track of the number of edge transistions (pulses) on a given pin
//| Counter will keep track of the number of falling edge transistions (pulses) on a given pin
//|
//| .. class:: Counter(pin_a)
//|
//| Create an Counter object associated with the given pin. It tracks the number of
//| pulses relative when the object is contructed.
//| falling pulses relative when the object is constructed.
//|
//| :param ~microcontroller.Pin pin_a: Pin to read pulses from.
//|