Hello, I have a Bluetooth BLE 5 volt relay switch/not a arduino board. I am able to connect to device but get error. The communication error, device address not valid. just a need simple on/off switch to turn on light. The relay specifications say hexdecimal parameters:
A0 01 01 A2 RELAY ONE ON
A0 01 00 A1 RELAY ONE OFF
A0 02 01 A3 RELAY 2 ON
A0 02 00 A2 RELAY 2 OFF
Any help with the block or a sample code. Thanks
Here is a sample file that controls a single relay. It uses classic BT but in this case the code for BLE will not differ much. The commands (ON, OFF) can be Block Lists, as shown.