Android Question Serial Communication

Hello there,
I'm new subscriber of Android and B4A
I try to develop an app for control LED via Bluetooth.
when I try to send code to electronic controller
use :

tw.Write("0")
tw.Flush
ToastMessageShow("LED is OFF",False)

Catch
Msgbox("Check Your Connection To HC05","Error")
Log(LastException)
End Try

But I can't receive this data in my electronic controller -_-
How can I solve it?
 
Top