// declare pin 2(up) & 3(down) to be an output:
pinMode(2, INPUT);
pinMode(3, INPUT);
Is it the code or the comment that is wrong?
here is my not working experiment - if you can anybody help me wit that
You need three brightness values, not one.