Modified Marlin firmware for senior design.