EA DOGM128 Driver  0.1
Driver code for the EA DOGM128
 All Files Functions Typedefs Enumerations Groups Pages
Functions
Point

Functions

void dog_draw_point (uint8_t row, uint8_t col, uint8_t size, char mode)
 

Detailed Description

This file contains the prototype for the dog_draw_point() function, which is used to set either a single pixel or a series of pixels for increased line thickness.

Function Documentation

void dog_draw_point ( uint8_t  row,
uint8_t  col,
uint8_t  size,
char  mode 
)

This function is used to set an individual pixel or a pixel and a set of surrounding pixels for increased thickness.

Parameters
  • row = The desired row to place the pixel or center of point (0-63)
  • col = The desired column to place the pixel center of point (0-127)
  • size = The thickness of the point to place (0 or 1)
  • mode = 's' for set, 'c' for clear
Algorithm
  • Determines the size of the point based on the size parameter and then sets or clears the corresponding pixel(s) based on the mode of operation.
Assumptions
  • None