Using PWM pins for E-block buttons

Hi,

Is it possible to use PWM pins Di5 and Di8 for E-block buttons?

Thanks

 
Cpu.Pin finger1Pin = (Cpu.Pin)FEZ_Pin.PWM.Di8; 
InputPort finger1Input = new InputPort(finger1Pin, true, Port.ResistorMode.Disabled);

Cpu.Pin finger3Pin = (Cpu.Pin)FEZ_Pin.PWM.Di5;
InputPort finger3Input = new InputPort(finger3Pin, true, Port.ResistorMode.Disabled);

yes as an input port, but you will have to check the brochure to see if the pins are interrupt capable if you want to use interrupt ports.

most special purpose pins are also GPIO (general purpose io)