Pin numbers corrected according to Tony's pinout spreadsheet.