- Basics of C with Arduino
- int main() {
- while (1) {
- bool * out_pin = /* Whatever that memory address was for that pin */;
- *out_pin = 1;
- // Some sort of sleep function? (I only know of "windows.h"'s "Sleep" function)
- *out_pin = 0;
- }
- return 0; // Kind of unneeded, I suppose, but probably compiler errors otherwise.
- }