Apologies for reviving this old topic but found a mistake on the diagram that may generate a lot of frustation to anyone trying to use it.
Pin AI3 is missing, so all other digital input pins from so on are displaced 1 position.
Unfortunatelly even if moderators delete the link in both
#98901
and
#112565
on the forum, the diagram is still appearing as one of the first searchs on search engines. Not sure if OP has a way to change the picture on his cloudfront account.