Académique Documents
Professionnel Documents
Culture Documents
Arduino 2ano
So%orte cone3i+n
serie (R4$4)
/5D
Smart%hone Android
So%orte ,luetooth
Android 6 2.3
Conectividad Bluetooth Android-Arduino
-aterial (11)
-+dulo ,luetooth
78!-C0
9CC$ :2D$ R4 ( 4
htt%&'';;;.ama<on.com'78!-C0!Arduino!,luetooth!=ireless!Serial'd%',00>D?@A-:
Conectividad Bluetooth Android-Arduino
Arduino
5nviar datos
Recibir datos
public void send (1tring data)
{
try {
mmEutput1tream)write(data)getBytes())!
} catch ('E,7ception e) {
5og)e(2(9. e)getFessage())!
}
}
int numBytes 10!
byteGH b new byteGnumBytesH!
try {
mm'nput1tream)read(b.0.numBytes)!
5og)d(2(9. =#ecv: = < 1tring)'alueOf(b))!
}
Conectividad Bluetooth Android-Arduino
Re.erencias