please take a look at the figure below. PB0,PB2 are the pin names of atemga 1280 microcontroller which mega board uses.