I have this
for (int d = 0; d < 192; d++)
sendData( tmp = *(data + (d&0xfc) + (3-(d&0x03))) );//LCD Data
data is an array 192 in size.
I load my array with eeprom
for ( unsigned char i = 0; i < 192;i++)
data[i]= eeprom_read_byte(160+ i);
I want to rid of the array and just read right from the eeprom.
!) do I need to add a delay to do this?
2) What does this crazy stuff mean (it was sampled)? Looks like it takes a pointer to data at some specific addresses. I believe the data needs to be assembled 4,3,2,1,8,7,6,5..... How could I rewire this to use my eeprom instead of the array. I guess I could make an array and load it in 4 byte at a time but I'd like to ovoid using arrays all together. sendData is just a byte to wire transmission for a proprietary protocol.