https://embetronicx.com/tutorials/microcontrollers/lpc2148/relay-interfacing-with-lpc2148/
LPC2148 - Relay Interfacing