Tool/software: Code Composer Studio
Hi,
I m using CC2650MODA and finally i achieved to broadcast with it using Simple_peripheral example in ble-sdk plugin. I can send any value through bluetooth but when I try to send pin state information (high or low), I could not send it. I don't know the reason.
PIN_Config radCtrlCfg[] =
{
IOID_13) | PIN_INPUT_EN | PIN_PULLUP, /* Pin Configuration
}
I tried both of below to get input value but it does not work.
value = value + PIN_getInputValue(PIN_ID(13);
value = value + PIN_getInputValue(IOID_13);
Could you help me how can i read the input state and send it through bluetooth?
Best regards,
Murat Kayhan