Hello all. I have a relay driver circuit which I used a KN2222A NPN transistor to switch 5V relay grounding. According to the datasheet facing to the flat side of the transistor the squence from left to right is Collector - Base - Emitter. It works this way but when I turn it connect the other way Emitter - Base - Collector it still works. Could anyone explain what I am doing wrong? Circuit is supplied with +5V and the IC is PC817 optocoupler. Thanks.