User manual

chipKIT Basic I/O Shield Reference Manual
www.digilentinc.com page 12 of 15
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
Spi2PutByte(0xA1); //remap columns
Spi2PutByte(0xC8); //remap the rows
/* Send the commands to select sequential COM configuration. This makes the
** display memory non-interleaved.
*/
Spi2PutByte(0xDA); //set COM configuration command
Spi2PutByte(0x20); //sequential COM, left/right remap enabled
/* Send Display On command
*/
Spi2PutByte(0xAF);
}