1 #include "hal_led.h" 2 #include "hal_board.h" 3 #include <msp430.h> 4 5 6 void hal_led_toggle(void){ 7 LED2_OUT = LED2_OUT ^ LED2_PIN; 8 }