Softwareserial & Servo conflict
Posted: Thu Apr 26, 2018 5:50 pm
Hi, Trying to reproduce a project done past year on an arduino board on a Wemos D1 R2.
In the project, i'm using a GPS and a servo motor. As there is a known conflict between softwareserial and servo librairies. With Arduino board, I used PWMServo library instead and it worked well.
Today on the wemos, I can't use PWMServo due to a compiling error with interrupt.h (within PWMServo). If I understand correctly it's because of hardware differences between arduino and esp boards.
Tried also alternate library ServoTimer2 nith no more luck.
Any idea how I could use both Softwareserial and servo with ESP boards ?
Édit : I use latest arduino ide.
thank you !
In the project, i'm using a GPS and a servo motor. As there is a known conflict between softwareserial and servo librairies. With Arduino board, I used PWMServo library instead and it worked well.
Today on the wemos, I can't use PWMServo due to a compiling error with interrupt.h (within PWMServo). If I understand correctly it's because of hardware differences between arduino and esp boards.
Tried also alternate library ServoTimer2 nith no more luck.
Any idea how I could use both Softwareserial and servo with ESP boards ?
Édit : I use latest arduino ide.
thank you !