Lcdfunctions C
Lcdfunctions C
* File: lcdFunctions.c
* Author: david
*
* Created on August 9, 2021, 12:19 PM
*/
#include <xc.h>
#include "myHeader.h"
if(row == 0) // If row is 0
ramAddr = 0x00 + (col - 1); // Subtract 1 from the col
else // If row is 1
ramAddr = 0x40 + (col - 1); // Add 0x40 to ramAddr, and
// subtract 1 from the col