LED Configuration for 20736S

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
PhGi_2174146
Level 3
Level 3
First like received First like given

The built in routines to control an LED (e.g. bleprofile_LEDBlink) all seem to work off the the LED being pulled high and the pin going LOW to turn the LED on.  Does anybody know if there Is a way to reverse this such that the LED on state can be HIGH?  I can't just swap the ON and OFF parameters because the end state is incorrect (HIGH instead of LOW).  I've tried changing the initialization state in the BLE_PROFILE_GPIO_CFG, but that doesn't seem to work.

Thanks!

0 Likes
1 Solution
PhGi_2174146
Level 3
Level 3
First like received First like given

OK, I found a crossed connection in my prototype.  It looks like changing the initialization state in BLE_PROFILE_GPIO_CFG does work.  Pretty sweet!

View solution in original post

0 Likes
2 Replies
PhGi_2174146
Level 3
Level 3
First like received First like given

OK, I found a crossed connection in my prototype.  It looks like changing the initialization state in BLE_PROFILE_GPIO_CFG does work.  Pretty sweet!

0 Likes

Great news! Thanks for sharing with the group.

0 Likes