With this library you will be able of:
- Initialice the comunication an registers of the IC with: InitEnergyIC()
- Get the system status: GetSysStatus()
- Get the meter status: GetMeterStatus();
- Get the line voltage with: GetLineVoltage()
- Get the line current with GetLineCurrent()
- Get the active power with GetActivePower()
- Get the frequency with: GetFrequency()
- Get the power factor with: GetPowerFactor()
- Get the import energy with: GetImportEnergy()
- Get the export energy with: GetExportEnergy()
Microchip reference: https://www.microchip.com/en-us/product/atm90e26#document-table
![Captura de pantalla 2024-03-22 a las 22 03 07](https://private-user-images.githubusercontent.com/21344092/316168683-fb6611f7-9860-4e15-b295-6276e3524fc6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMzY2OTQsIm5iZiI6MTczOTIzNjM5NCwicGF0aCI6Ii8yMTM0NDA5Mi8zMTYxNjg2ODMtZmI2NjExZjctOTg2MC00ZTE1LWIyOTUtNjI3NmUzNTI0ZmM2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDAxMTMxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFmMDc2NDY0NzA0YjdlNTU5YjkxYmZjODFhMjBiMzJmZDk2ZTk3YWI0MzZlYjdjMTRmZDgwMTdhOTYyYjE2ZGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.eOR1a2ISoKIgyK53gNsXouVGMgOPAJl2hNUOQ9zlEDw)
Based on the UART communication protocol, and making use of the registers explained in the dastasheet.