I am proud owner of an ADAFRUIT FEATHER M0 BLUEFRUIT LE. Now I've followed the tutorial of adafruit completely. I have the plate and so on. As stated in the tutorial, I tried the show program as the first.

The problem begins:
Instead of "Done Uploading." ther is standing "An error occurred while uploading the sketch"

This is the message that says:

Sketch uses 9588 bytes (3%) of program storage space. Maximum is 262144 bytes.
Atmel SMART device 0x10010005 found
Device       : ATSAMD21G18A
Chip ID      : 10010005
Version      : v2.0 [Arduino:XYZ] Mar  5 2016 17:46:52
Address      : 8192
Pages        : 3968
Page Size    : 64 bytes
Total Size   : 248KB
Planes       : 1
Lock Regions : 16
Locked       : none
Security     : false
Boot Flash   : true
BOD          : true
BOR          : true
Arduino      : FAST_CHIP_ERASE
Erase flash
done in 0.853 seconds

Write 9844 bytes to flash (154 pages)

[============                  ] 41% (64/154 pages)
[========================      ] 83% (128/154 pages)
[==============================] 100% (154/154 pages)
SAM-BA operation failed

done in 0.063 seconds

Verify 9844 bytes of flash with checksum.
Verify successful
done in 0.014 seconds
CPU reset.
An error occurred while uploading the sketch
Error while setting serial port parameters: 19,200 N 8 1

There may be an error message, but the bright program still works.
can harm the error or is this normal?

So I thought I just let go and see how far I come

Problem two:
I'm still pretty new in this programming world. My goal is to make a communication between smartphone and bluthooth module. The idea is to eventually turn on a led and turn off via smatphone and to register if, for example, a button is pushed that is linked to the bluethooth module.

Does anyone have an example of communication?