The first thing you have to be careful about, especially when you are not used to the Arduino IDE, is to check carefully if you can inject a simple sketch on your target that you want to transform ...
Consultancy has designed a simple board called the Pico Indicator to add LEDs to the GPIO and power pins of the Raspberry Pi ...