Basic GPIO Arduino
//Define Pins
#define led 25
#define button 27
//Initilize pins
pinMode(led, OUTPUT);
pinMode(button, INPUT);
//Write a Pin
digitalWrite(led,HIGH);//Set Value HIGH
digitalWrite(led,LOW); //Set Value LOW
//Read a Pin
digitalRead(button);