Describe the bug
It won't go past PZEM004Tv30 pzem1(Serial1, 1); The Teensy 4.1 just hangs. Audible sound can be heard, it's like plugging/unplugging a USB device on your PC.
To Reproduce
Let's use the Blink sample sketch.
include PZEM v3.0
include
PZEM004Tv30 pzem1(Serial1, 1);
Upload the sketch.
Expected behavior
The built-in LED will not blink as expected. Instead, audible sound can be heard and it is like plugging/unplugging a USB device.
Screenshots
N/A
Desktop (please complete the following information):
OS: Windows 11
Arduino IDE 2.1.1
Arduino IDE 1.8.19
Additional context
This problem is not occurring in Teensy 3.6 and Arduino Mega.
Describe the bug It won't go past PZEM004Tv30 pzem1(Serial1, 1); The Teensy 4.1 just hangs. Audible sound can be heard, it's like plugging/unplugging a USB device on your PC.
To Reproduce
include
PZEM004Tv30 pzem1(Serial1, 1);
Expected behavior The built-in LED will not blink as expected. Instead, audible sound can be heard and it is like plugging/unplugging a USB device.
Screenshots N/A
Desktop (please complete the following information):
Additional context This problem is not occurring in Teensy 3.6 and Arduino Mega.