

https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json 








 int LED = 7;
 int BUTTON = 3;
 int STATE;
void setup() { 
pinMode(LED, OUTPUT); 
pinMode(BUTTON, INPUT); 
// put your setup codehere, to run once:
} 
void loop() { 
  // put your setup codehere, to run repeatedly:
STATE = digitalRead(BUTTON);
if (STATE == HIGH) 
{ 
  digitalWrite(LED, LOW);
} 
 else{ 
   digitalWrite(LED, HIGH); 
} 
} 
 