매우 간단한 코드였는데 사용법을 잘 몰라서 하루종일 해맸다....


오전내내 bsp_board_button_state_get() 메서드찾고


오후내내  bsp_board_init(BSP_INIT_BUTTONS) 메서드 찾고......




 bsp_board_init으로 led와 buttons을 초기화시키고 


bsp_board_button_state_get() 으로 버튼의 상태값을 읽어온다



'SEGGER Embedded Studio' 카테고리의 다른 글

UART예제  (0) 2018.07.13
mesh light switch example(2)  (0) 2018.07.10
mesh light_switch example(1)  (0) 2018.07.09
SEGGER Embedded Studio 설치  (0) 2018.07.04
블로그 이미지

헛것

,