Double arithmetic [SOLVED]
hi,
i'm beginner can work way trough... need though.
on arduino uno want control rgb led hsv. have found library https://github.com/mathertel/onebutton looks working.
i want dim led via v value in hsv convert rgb analogwrite.
problem library wants double variable v.
and code not working.
the program never exit loop , x never increases... print out 0.00
i appreciate help!
i'm beginner can work way trough... need though.
on arduino uno want control rgb led hsv. have found library https://github.com/mathertel/onebutton looks working.
i want dim led via v value in hsv convert rgb analogwrite.
problem library wants double variable v.
and code not working.
code: [select]
for (double x = 0.00; x <= hsv[3]; x + 0.01){
serialprint(x);
the program never exit loop , x never increases... print out 0.00
i appreciate help!
Arduino Forum > Using Arduino > Programming Questions > Double arithmetic [SOLVED]
arduino
Comments
Post a Comment