default

Example of the component esp-idf-lib/impulse_sensor v1.0.5
# Example for `impulse_counter` driver

## What it does

It shows anemometer - impulse wind speed sensor data in a loop.

## Wiring

Connect `DATA` pin to the following pins with appropriate pull-up
resistors.

| Name | Description | Defaults |
|------|-------------|----------|
| `CONFIG_EXAMPLE_DATA_GPIO` | GPIO number for `DATA` | "5" for `esp8266`, "6" for `esp32c3`, "19" for `esp32`, `esp32s2`, and `esp32s3` |

## Notes

`CONFIG_NEWLIB_LIBRARY_LEVEL_NORMAL` must be `y` on `esp8266`.

To create a project from this example, run:

idf.py create-project-from-example "esp-idf-lib/impulse_sensor=1.0.5:default"

or download archive (~2.70 KB)