Please help for One push button(TMPB)to control RGB driver.

Hi, Everyone

I am the Newb here and I would like to program to control RGB led by one push button for following function.

  1. Press one click to on and one click to of
  2. Press 1 to 2 sec. and let go toggle between blue and white color.
  3. Press continuously to change the brightness up and down.
    Please advise or share me for any reference for code or any sample code.
    I will be highly appreciated as I need to done the project with my poor knowledge in programming.

sam.

Reference: Arduino - Home
Required Reading: http://arduino.cc/en/Tutorial/BlinkWithoutDelay

I will be highly appreciated as I need to done the project with my poor knowledge in programming.

I pretty sure that asking some one else to write the code for you will NOT improve your knowledge of programming. If you were in my class, it wouldn’t even get you a passing grade.

Your going to need a timer for one, and two, you might run into problems with

  1. Press one click to on and one click to of

and

  1. Press continuously to change the brightness up and down.

Being that you said you have poor programming knowledge, I suggest you get a C/C++ basic programming book and take a look at the "Blink without delay" example.