Sketch for Arduino


I have a very simple project I need help with

I am trying to accomplish the following:

1. Arduino counts sequential button pushes

(Second push needs to happen inside a time interval of 1000ms or less after the first push to get counted)

2. Turns LED on immediately after the first push, and holds it on for the the time that equals the number of sequential pushes multiplied by 1000ms

3. Ideally, any push that happens during the time LED is on, should get added to the count

4. Turns LED off, clears push count

The setup is standard:

const int buttonPin = 2; // the number of the pushbutton pin

const int ledPin = 13; // the number of the LED pin

For an experienced arduino programmer this is probably less than an hour of work.

Are you interested?

Evner: Arduino

Se mere: need arduino programmer, get arduino, c for int, sketch to, sketch 3, led push button, Arduino, arduino sketch, arduino 4*4, arduino arduino, arduino help, arduino work, project sketch, sketch arduino, arduino project sketch, pin button, simple arduino sketch, arduino led, led arduino led, time arduino, arduino led sketch, hall effect sensor arduino sketch, arduino sketch program, wifly arduino sketch, sketch led arduino

Om arbejdsgiveren:
( 2 bedømmelser ) Zagreb, Croatia

Projekt ID: #6008663

1 freelancer byder i gennemsnit $20 på dette job


Hired by the Employer

$20 USD på 1 dag
(1 bedømmelse)