Content-Length: 306450 | pFad | http://github.com/adafruit/circuitpython/issues/10466

31 failing to create **pulseio.Pulsein** on Lolin S2 Mini · Issue #10466 · adafruit/circuitpython · GitHub
Skip to content

failing to create **pulseio.Pulsein** on Lolin S2 Mini #10466

Open
@jbrelwof

Description

@jbrelwof

CircuitPython version and board name

Adafruit CircuitPython 10.0.0-alpha.8 on 2025-07-08; S2Mini with ESP32S2-S2FN4R2

Code/REPL

import pulseio, board
maxLen = 128
pulseIn = pulseio.PulseIn(board.IO35, maxlen=maxLen, idle_state=True)

Behavior

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
espidf.IDFError: Operation or feature not supported

Description

I was able to create and use (along with adafruit_irremote.GenericDecode()) a PulseIn with a maxLen of 120 on the same pin of the same LolinS2 Mini (and other ESP32 variants, though perhaps on different pins) with CircuitPython 9.x and (IIRC) earlier versions of the ESP-IDF 5.4.1 fork/PR

Now, all the values I've tried for maxLen result in an espidf.IDFError: Operation or feature not supported for values of maxLen >= 30, but espidf.IDFError: Invalid argument for maxLen < 30

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/adafruit/circuitpython/issues/10466

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy