Page 1 of 1

Error compiling for Esprit ESP32 board

Posted: Thu Jun 21, 2018 12:51 am
by acid_freddy
Hi!

I know it's the wrong section and should be posted in "Libraries" but somehow i can't post there.

I've some issue compiling my project for the esp32 in Arduino 1.8.4.
The compiler tells me "libraries\OBD2UART\OBD2UART.cpp.o:(.literal._ZN4COBD5beginEv+0x4): undefined reference to `Serial1'".

The project is already runnig on standard arduino board(s).

What am i doing wrong?

Thanks!

Pete

Re: Error compiling for Esprit ESP32 board

Posted: Sun Jun 24, 2018 10:44 am
by stanley
Add:
#include <Esprit.h>

Serial1 is defined in it.

Re: Error compiling for Esprit ESP32 board

Posted: Fri Jun 29, 2018 1:29 am
by acid_freddy
Thanks for the answer.

Didn't work either, i defined a HardwareSerial myself and it works :-)

Re: Error compiling for Esprit ESP32 board

Posted: Fri Jun 29, 2018 2:25 am
by acid_freddy
I know this doesn't fit in here...

But how do i activate a output channel like

"digitalWrite(7, HIGH);"

It works on my standard arduino, but i can't activate any channel. Tried 5 to 12, but no response, voltage is zero.