Is there a way to use the Raspberry Pi like an Arduino? That is, without an operating system?
Just connect it to the USB of your computer and download code onto it, and the next time the Raspberry Pi boots, it runs that program (infinitely). Just as an Arduino would.
When I googled how to use the Raspberry Pi like an Arduino, all I get is using the Raspberry Pi's GPIO and not something what I'am looking for.
How can I do this?