CIRCUITSTATE / CSE_ModbusRTU

Arduino library for implementing Modbus RTU communication protocols using hardware/software serial ports.
MIT License
6 stars 1 forks source link

vector library on Leonardo #6

Open jejmule opened 7 months ago

jejmule commented 7 months ago

Hello,

I can't find the vector library. I do Vector but not the vector. I am using visual strudio code with plateformio and coding a Leonardo board (industrial shield)

Here is the error message :

In file included from src\main.cpp:41:0: .pio\libdeps\leonardo\CSE_ModbusRTU\src/CSE_ModbusRTU.h:15:10: fatal error: vector: No such file or directory

include

Any insight? Jérôme

vishnumaiea commented 7 months ago

Hi @jejmule.

The library makes use of C++ standard Vector library extensions which are not available for AVR platform by default. You can install and add the ArduinoSTL vector library for AVR and try. The current development branch adds support for this library though not fully tested.

Please see if it is working for you and let me know.