The easyist way would to have the micro detect an active low, makes no real difference in programming, and is the conventional way to do things. You could then connect a resistor from collector to 5v logic, and then take the transistor collector to the micro pin. Normally the input pin is held high by the resistor and then gets pulled low when the transistor turns on. If you reaaly need active high inputs, then you will have to invert the signal, pnp transistor etc.