I am programing an ATtiny26. The circuit is ready and the materials are soldered. My problem is that the 8 data (connected in a parallel data flash) bus pins are not in series due to some pins limitations or peripherals. So I have connected some pins from PortA and some from PortC. for example:
AVR Pin Data bus pin
Could you suggest me a way to load an unsigned char on the 8 bit data bus in order to send data and an other way to load the 8 bit data bus in the unsigned char (in order to receive data)?
Thanks a lot.