This file contains the function prototype for the dog_draw_pixel() function.
This function is used to set an individual pixel on the screen.
- Parameters
- row = The desired row to place the pixel (0-63)
- col = The desired column to place the pixel (0-127)
- mode = 's' for set, 'c' for clear
- Algorithm
- Ensures that the provided row and column are within range. It then computes the which page the pixel will be placed on and where within that page. It then either sets or clears the pixel depending on the mode
- Assumptions
-
- Returns
- 0 upon sucessful completion
- -1 in case of an out of range row
- -2 in case of an out of range column
- -3 in case of invalid mode character