Skip to docs navigation

00.03 Arduino Project Reference

Arduino Code

From Arduino Forum Posts

The Arduino forums are a great place to ask questions about projects and to search for existing answers. Sometimes the amount of existing posts make it hard to find the best answers for a specific project. You are encouraged to post questions to the forums. Below are forum posts with reasonably concise answers and solutions.

Overview Post with Links to Helpful Topicsexternal link

Arduino LED Heartbeat Code - From Arduino Forums

Simple Code that blinks an LED on Pin 13 like a beating heart. It is amazing for its simplicity and brevity. 1

void setup() { pinMode(13, OUTPUT); }
void loop()  { digitalWrite(13, !(millis() & 640)); }

Electronics Tools

Project Examples


  1. First made by user dlloyd and then shortened by user nickgammon in this Arduino Forum Postexternal link  ↩︎