Code the CC2538 microcontroller