I just asked chatGPT to write a custom interval timer library in arduino and an example program using that library to run on an esp32. I loaded it and ran it. I know it's a simple program but rapid prototyping just became a lot easier.