File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -234,9 +234,7 @@ CFLAGS += -DCIRCUITPY_PS2IO=$(CIRCUITPY_PS2IO)
234
234
CIRCUITPY_PULSEIO ?= 1
235
235
CFLAGS += -DCIRCUITPY_PULSEIO=$(CIRCUITPY_PULSEIO )
236
236
237
- # For now we tie PWMIO to PULSEIO so they always both exist. In CircuitPython 7
238
- # we can enable and disable them separately once PWMOut is removed from `pulseio`.
239
- CIRCUITPY_PWMIO ?= $(CIRCUITPY_PULSEIO )
237
+ CIRCUITPY_PWMIO ?= 1
240
238
CFLAGS += -DCIRCUITPY_PWMIO=$(CIRCUITPY_PWMIO )
241
239
242
240
CIRCUITPY_RANDOM ?= 1
Original file line number Diff line number Diff line change 33
33
#include "shared-bindings/pulseio/__init__.h"
34
34
#include "shared-bindings/pulseio/PulseIn.h"
35
35
#include "shared-bindings/pulseio/PulseOut.h"
36
- #include "shared-bindings/pwmio/PWMOut.h"
37
36
38
37
//| """Support for individual pulse based protocols
39
38
//|
40
39
//| The `pulseio` module contains classes to provide access to basic pulse IO.
41
40
//| Individual pulses are commonly used in infrared remotes and in DHT
42
41
//| temperature sensors.
43
42
//|
44
- //|
45
- //| .. warning:: PWMOut is moving to `pwmio` and will be removed from `pulseio`
46
- //| in CircuitPython 7.
47
- //|
48
43
//| All classes change hardware state and should be deinitialized when they
49
44
//| are no longer needed if the program continues after use. To do so, either
50
45
//| call :py:meth:`!deinit` or use a context manager. See
@@ -55,7 +50,6 @@ STATIC const mp_rom_map_elem_t pulseio_module_globals_table[] = {
55
50
{ MP_ROM_QSTR (MP_QSTR___name__ ), MP_ROM_QSTR (MP_QSTR_pulseio ) },
56
51
{ MP_ROM_QSTR (MP_QSTR_PulseIn ), MP_ROM_PTR (& pulseio_pulsein_type ) },
57
52
{ MP_ROM_QSTR (MP_QSTR_PulseOut ), MP_ROM_PTR (& pulseio_pulseout_type ) },
58
- { MP_ROM_QSTR (MP_QSTR_PWMOut ), MP_ROM_PTR (& pwmio_pwmout_type ) },
59
53
};
60
54
61
55
STATIC MP_DEFINE_CONST_DICT (pulseio_module_globals , pulseio_module_globals_table );
You can’t perform that action at this time.
0 commit comments