8 years, 11 months ago.

Unable to set a pin high or low when GattCharacteristic is initialized (Arduino BLE Nano)

I am struggling with mbed's BLENano_SimpleControls example:

As soon as the example's GattCharacteristic and GattService are initialized, we are unable to set pin P0_9 high or low.

Whereas example mbed_blinky works well with the same pin.

It seems that as soon as BLE is involved, we are unable to set a pin high or low.

Any help ?

Apparently, uncommenting the line Serial pc(USBTX, USBRX); caused the problem.This means that we'll have to comment out this line and comments in order to get the exemple working without the MK20 USB Board... not handy at all. mbed guys, please add comments to your examples !

posted by Mat Dev 19 May 2015
Be the first to answer this question.