Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

int count=0;

void setup() {

pinMode(8,OUTPUT);

pinMode(2,OUTPUT);

put your setup code here, to run once:

}

void loop() {

int A=digitalRead(8);

if (A==HIGH)

count=count+1;

if (count%2==1)

{digitalWrite(2,HIGH);

}

else

{digitalWrite(2,LOW);

}

}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors