I'm trying to move an Arduino sketch that uses the RadioHead library to an esp-idf project.
I've added the arduino-esp32 component and the radio library to the project and it compiles correctly, but it fails at a low level, with SPI reads coming back with all zeros instead of the expected values from the radio chip.
The Arduino sketch works fine.
I've tried configuring both the "automatic Arduino startup mode" way and the "do-it-yourself app_main" way, both fail in the same way.
I'll continue debugging, but does this ring any obvious bells (some kind of low-level initialization that I need that is done by the Arduino version, but not by initArduino ?)
using RadioHead library in esp-idf
-
- Posts: 5
- Joined: Mon Jun 27, 2022 10:44 am
Re: using RadioHead library in esp-idf
Can you please share you code with library?
Who is online
Users browsing this forum: Google [Bot] and 131 guests