Analyze a data received by Bluetooth

Hi,
I´m new to the Appinventor, I want to do a simple thing: Showing a message when the data received is 1 and another message when it´s 0.