We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adafruit CircuitPython 8.2.8 on 2023-11-16; Bee-Data-Logger with ESP32S3 Board ID:smartbeedesigns_bee_data_logger Adafruit CircuitPython 8.2.0-rc.0 on 2023-06-23; Bee-Data-Logger with ESP32S3 Board ID:smartbeedesigns_bee_data_logger Adafruit CircuitPython 8.2.8 on 2023-11-16; ESP32 Devkit V1 with ESP32 Board ID:doit_esp32_devkit_v1
import frequencyio, board, time frequency = frequencyio.FrequencyIn(board.D41) while True: print(frequency.value) frequency.clear() time.sleep(1)
Frequency returns as '0' when 71 kHz square wave applied.
Serial output in CircuitPython 8.2.0 and 8.2.8 on all boards tested.:
0 0 0 0 ...
Signal generated by external sensor (Vmin 97 mV - Vmax 3.2 V, 71 kHz square wave as below) to digital pin. FrequencyIO returns '0' in all scenarios.
Debugging:
import board,keypad,time while True: with keypad.Keys((board.D41,), value_when_pressed=False) as keys: event = keys.events.get() if event: if event.pressed: print("pressed") >> pressed >> pressed ...
Frequency input signal
The text was updated successfully, but these errors were encountered:
Please test with an "Absolute Latest" build. This has updates to the ESP IDF that might fix this.
Sorry, something went wrong.
Thanks Scott (@tannewt ),
Adafruit CircuitPython 9.0.0-alpha.5 on 2023-11-15; Bee-Data-Logger with ESP32S3 Board ID:smartbeedesigns_bee_data_logger
No luck. Same result using the above example code. Repeatedly returns '0'
For reference
No branches or pull requests
CircuitPython version
Code/REPL
Behavior
Frequency returns as '0' when 71 kHz square wave applied.
Serial output in CircuitPython 8.2.0 and 8.2.8 on all boards tested.:
Description
Signal generated by external sensor (Vmin 97 mV - Vmax 3.2 V, 71 kHz square wave as below) to digital pin. FrequencyIO returns '0' in all scenarios.
Additional information
Debugging:
Frequency input signal
The text was updated successfully, but these errors were encountered: