… So if you want a one to one example as to how yours will work? LOOK no further than the Xiao ESP32C3 to AIR530 GPE example thread (with code) a crafty user could easily plug that into this and make the same thing work…
HTH
GL PJ
Here’s the similar thread FOR nRF52840…
this one also is /can be beneficial. HERE