Hello guys,
I am trying to send sensor values from 1 arduino to another using bluetooth
Hardware used:
Arduino Pro-Mini connected to an XBee HC-05 module
Arduino Uno connected to HC-06
I followed this link to set up the modules: Connecting 2 Arduinos by Bluetooth using a HC-05 and a HC-06: Pair, Bind, and Link | Martyn Currey
According to blinking patterns, the Hc-05 and HC-06 are working fine(2 blinks per sec for HC-05 a the HC-06 is always on). However, the HC-06 doesn't seem to be receiving anything: BTserial.available() is always returning 0.
I checked on the HC-05 end, data is being sent (size of bytes sent a = 1)
Those are my codes. I've been stuck on it for 2 days any help is appreciated