dfrobot flame sensor coding

i will try to do that.. i have another one in stock just in case..hope it will work.. but i need to control the rpm. because the deceleration takes some time and it may actually clash with the candle (in my case). but it has to slow down before coming to a stop so that it will be easy to put off fire from a certain distance...thanks for the help.. but i am still stuck with that here..

http://forum.arduino.cc/index.php?topic=185212.0

cant get that right... dont know why