But the LEDs don't do anything.
Well, of course not. You called a function that returned a value. You did not save that returned value. You did not do anything with the returned value.
Or at least a way to turn the 0 - 256 into 0x00 format.
That's what that function does. Now, you have to save, and do something with, that value.