Hi,im newly using Arduino. Ive got a problem making a 4bit up counter trigerred by a PIR. when PIR turns on, binary up go, and wont stop. what can i do? help me with my codes. my CODES atatched
codes:
int ledPin[]={11,10,9,8};
int pir=7;
int val=0;
void setup()
{
for (int i =0;i
codes:
int ledPin[]={11,10,9,8};
int pir=7;
int val=0;
void setup()
{
for (int i =0;i