<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_pixel(self, x, y, value):
 """Set pixel at position x, y to the given value. X and Y should be values of 0 to 7 and 0 to 15, resp. Value should be 0 for off and non-zero for on. """

        if x < 0 or x > 7 or y < 0 or y > 15:
            # Ignore out of bounds pixels.
            return
        self.set_led((7 - x) * 16 + y, value)