Itead bluethoot v2.2

hello,
I’m new in Android world and I have to contol a led with an application on my phone ( create with app inventor ). For that i have an android Mega , a shied itead bluethoot v 2.2 and a Led .The connection works , and i think that arduino receive information because the Tx led turn on when I press a bouton on my application but the Led connected on the arduino don’t turn on .
Thank you

code.ino (325 Bytes)

You should try debugging using a Bluetooth Terminal app first to make sure your Arduino code works. Then write your Bluetooth app.