Hello,
I am a newcomer of CC2530 Development Kit: include two SmartRF05eb Rev 1.8.1 and two CC2530EM. I have tried TI's example: "light_switch - srf05_cc2530_91". I found the program use MCU_IO_GET(HAL_BOARD_IO_BTN_1_PORT, HAL_BOARD_IO_BTN_1_PIN) to get input from Button S1, and HAL_BOARD_IO_BTN_1_PORT = 0, HAL_BOARD_IO_BTN_1_PIN = 1. So it read input from P0.1 to know whether Button S1 has been pushed down.
My question is how to get input from Button S2, what is the port number, and what is the pin number?
I have read SmartRF05 Evaluation Board User’s Guide, and CC2530 Development Kit User’s Guide. But I could not get those information. Where could I get this kind of information?
Thank you very much for your help!
Best regards,
Pinocchio