Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: A couple of SimpleBLEPeripheral code questions

$
0
0

1) By default the project is defined for CC2540, so add the CC2541 switch to your projects preprocessors to support the output power of CC2541.

2)   Here is an example on how to turn off LEDs

// makes sure LEDs are off
  HalLedSet( (HAL_LED_1 | HAL_LED_2), HAL_LED_MODE_OFF );

3) This is the callback function for the differerent profile notifications that can happen or be recceived by the peripheral device.

LPRF Rocks the World


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>