Arduino - robotics
Arduino cheat sheet(s)
Cheat sheet 1
Print to console
void setup()
{
int BAUD_RATE = 9600;
Serial.begin(BAUD_RATE);
}
void loop()
{
int PIN = 12
int value = digitalRead(PIN);
Serial.print("Hello World! \n");
Serial.print("value: " + String(value) + "\n");
}