pins 5-13 (9 toggle switches),pins 4-1(4 momentary switches), pin0(one led tog switch),pins14,16(pushpull switches),pin 15(one momentary switch(simulating engine start)), pin 23-20 (rotary encoder), pin 18-19(key switch with 3 prongs(one prong is ground)). just need one pin now for a normal push on-off pin