Created helper functions for repeated code. Removed pin configuration from main function, set in Virulent_Mainboard/board.h.