A complete program which uses this crate to put on the RGB LED on a TI MSP432P401R launchpad is available here.