code thoughts - st7565r
Page last updated
14 Feb 2012, by
FRASER PHILLIPS.
0
replies
functions for writing 'commands' and 'data':
void data(int value)
{
nCS = 0;
nCD = 1;
_spi.write(value);
nCS = 1;
}
void command(int value)
{
nCS = 0;
nCD = 0;
_spi.write(value);
nCS = 1;
Please log in to post comments.