Hi Steve

I read the datasheet before i post my message :-/, to me the datasheet says that bit7 on port E set the pull-ups for portD on 18f4550 ?.

Anyway, i could use portB,

I want to have switches that can be active low and active high,

can this be done without resistors ?

thx :-)