Narrative:

Cleared for takeoff runway 24; teb 5 departure. At about 600 ft MSL told to switch to departure (119.2). While I had put 119.2 in #2 radio; I had omitted putting 119.2 in backup position on #1 radio which I prefer to use so as not to get confused. While tuning 119.2 in #1 radio I got 20 to 30 degrees off heading. I have learned my lesson. I was correcting heading when controller mentioned it.

Google
 

Original NASA ASRS Text

Title: C525 PLT FAILS TO FOLLOW TEB DEP TRACK OFF RWY 24.

Narrative: CLRED FOR TKOF RWY 24; TEB 5 DEP. AT ABOUT 600 FT MSL TOLD TO SWITCH TO DEP (119.2). WHILE I HAD PUT 119.2 IN #2 RADIO; I HAD OMITTED PUTTING 119.2 IN BACKUP POS ON #1 RADIO WHICH I PREFER TO USE SO AS NOT TO GET CONFUSED. WHILE TUNING 119.2 IN #1 RADIO I GOT 20 TO 30 DEGS OFF HDG. I HAVE LEARNED MY LESSON. I WAS CORRECTING HDG WHEN CTLR MENTIONED IT.

Data retrieved from NASA's ASRS site as of January 2009 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.