Energy monitor does not work

blynk does connect but if i use emonlib with it emonlib does not read any sensors and the code does not continue like if use Serial.print it does not print anything in the serial monitor. if i use the emonlib without blynk it work fine also the bylink without the emonlib works fine but together there is a problem
here is the code

#define BLYNK_PRINT Serial

#include "EmonLib.h"

#include <WiFi.h>

#include <WiFiClient.h>

#include <BlynkSimpleEsp32.h>


EnergyMonitor emon;

EnergyMonitor emon1;

#define vCalibration 69.9

#define currCalibration 0.50

#define vCalibration1 83.3

#define currCalibration1 0.50

BlynkTimer timer;

#define BLYNK_TEMPLATE_ID "xxx"

#define BLYNK_TEMPLATE_NAME "Quickstart Template"

#define auth "xxxxx"

char ssid[] = "xxxx";

char pass[] = "xxxx";


float kWh = 0;

float kWh1 = 0;

float kWhtotal = 0;

unsigned long lastmillis = millis();


void myTimerEvent()


  emon.calcVI(20, 2000);

  emon1.calcVI(20, 2000);

  Serial.print("Vrms: ");

  Serial.print(emon.Vrms, 2);

  lastmillis = millis();


  Blynk.virtualWrite(V1, emon.Vrms);



void setup()



  Blynk.begin(auth, ssid, pass);


  emon.voltage(15, vCalibration, 1.7); // Voltage: input pin, calibration, phase_shift

  emon.current(34, currCalibration); // Current: input pin, calibration.

  emon1.voltage(35, vCalibration1, 1.7); // Voltage: input pin, calibration, phase_shift

  emon1.current(34, currCalibration1); // Current: input pin, calibration.

  timer.setInterval(5000L, myTimerEvent);




void loop()