PIC16F1938 C Firmware for SAWN Electronics Box