Hi there,
I am trying to run according to this linkhttps://www.hackster.io/nbezembinder1/dialog-da1458x-led-control-2d0b84. I have ran the tutorial up to using the smartphone to trigger the LED light but the problem is that my LED won't light up. I have configured my pins according to the SPI configuration. Hereby, I would like to attach a picture regarding my pins connection. Besides that, I have also run accordingly the codes on Keil MDK to work with the DA14580 development kit.
Device:
Hi herochua617,
Try to run the ble_app_peripheral example as is and via using a generic BLE central application write a 0x01 to the "LED state" characteristic, check if the LED of the board lights up.
Thanks MT_dialog
Hi there,
But I do not know where to write into the LED state. Is there any example. I only saw a long coding open in Keil when I opened the ble_app_peripheral example. Usually, I will just build and run. I do not know where I should configure. I am sorry and your help is kindly appreciated.
Hi herochua617,
Download a generic application onto your android device and connect to the ble_app_peripheral application. As soon as you are connected you should see 4 services, the one on the end ("Unknown Service") is the generic service of the ble_app_peripheral, tap on the service in order for the characteristics to appear, and the second characteristic from the top is the "LED State" characteristic (you can read the descriptor to verify this). At that characteristic if you write a 0x01 then you should see the led on the board to light up.
Thanks MT_dialog
Wow cool! I am able to light up now. Thanks to you, MT_dialog.