Controllig car led's with pwm

I Have played around with b value and delay. For example

float b = 0;

b += 0.1;

with delay of 100