You have not posted a link to the datasheet for the Atmega32 board. The simplest way to communicate with a Mega is probably by using a serial connection.
...R
Serial Input Basics
You have not posted a link to the datasheet for the Atmega32 board. The simplest way to communicate with a Mega is probably by using a serial connection.
...R
Serial Input Basics