Skip to content

latonita/ce2727a-driver

Repository files navigation

CE2727A simple driver

Component Registry Example build

This repository contains an ESP-IDF driver for a CE2727A power meter connected over UART (RS485).

Using the component

Run the following command in your ESP-IDF project to install this component:

idf.py add-dependency "latonita/ce2727a-driver"

Example

To run the provided example, create it as follows:

idf.py create-project-from-example "latonita/ce2727a-driver:ce2727a-example"

Then build as usual:

cd ce2727a-example
idf.py build

And flash it to the board:

idf.py -p PORT flash monitor

....todo....

License

This component is provided under Apache 2.0 license, see LICENSE file for details.

Contributing

Please check CONTRIBUTING.md for contribution guidelines.