12V LED Dimmer

Can i use the same adapter to power arduino and LED all together?

How do I know which value from 0 - 255 in arduino port will give max and min voltage to the LEDs?