change the board_leds API to on_mask, off_mask

getting led toggling per second on host demo
add greeting message
This commit is contained in:
hathach
2013-04-22 12:10:52 +07:00
parent 799c709524
commit 8cc4c6f52d
4 changed files with 111 additions and 120 deletions

View File

@@ -60,11 +60,9 @@
#include "lpc43xx_cgu.h"
#include "lpc43xx_gpio.h"
#include "lpc43xx_uart.h"
#include "lpc43xx_i2c.h"
#define EA_BASE_BOARD
#ifdef EA_BASE_BOARD
#include "oem_base_board/pca9532.h"
#endif
#include "oem_base_board/pca9532.h" // LEDs
#define CFG_LED_NUMBER 0
#define CFG_LED_ON (1)