ncmreynolds / milesTag

An Arduino library for building milesTag 2 protocol based lasertag hardware using the ESP32 RMT peripheral
GNU Lesser General Public License v2.1
3 stars 0 forks source link

Arduino framework friendly? #1

Open Phando opened 3 weeks ago

Phando commented 3 weeks ago

Does this library work with the arduino framework within platformio? I love the simplicity, but I am seeing errors around:

include "driver/rmt_tx.h"

and

include "driver/rmt_rx.h"

ncmreynolds commented 2 weeks ago

I don't use platformio so can't comment either way. These includes are specific to ESP-IDF 5+ as the RMT API changed enormously from previous versions, which IDF version are you using?

Phando commented 2 weeks ago

Thanks for the response. If you havent tried PlatformIO, it is kind of amazing compared to the Arduino IDE. Give it a shot if you have time.

I am using IDF 6.9.0. There are compile error around "driver/rmt_tx.h" and "driver/rmt_rx.h". I get past the include statements when I use #include "driver/rmt.h" but then there are issues with the actual transmit API calls. I just wanted to see if it was me or a library thing. I guess it is an IDE thing.