Narrative:

I went to expand TCASII from 5 mi to the 15 NM range and moved transponder knob 1 digit, by mistake. They are next to each other on the console. ATC advised me of squawk change.

Google
 

Original NASA ASRS Text

Title: PIC OF A B737 MEANT TO CHANGE THE MILEAGE RANGE ON HIS TCASII BUT INADVERTENTLY CHANGED HIS XPONDER CODE INSTEAD. CTLR CAUGHT THE ERROR. RPTR MENTIONED THE PROX OF THE 2 CTLS TO ONE ANOTHER.

Narrative: I WENT TO EXPAND TCASII FROM 5 MI TO THE 15 NM RANGE AND MOVED XPONDER KNOB 1 DIGIT, BY MISTAKE. THEY ARE NEXT TO EACH OTHER ON THE CONSOLE. ATC ADVISED ME OF SQUAWK CHANGE.

Data retrieved from NASA's ASRS site as of July 2007 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.