![]() ![]() Thois code will quickly tell you if the module is working properly and what baudrate it uses. When the communication baudrate is set correctly, the Bluetooth module should answer OK. ![]() #include SoftwareSerial hc06 ( 2, 3 ) void setup ( ) The following code allows you to modify the parameters using the serial monitor. To allow configuration, the module HC-06 should be powered but not paired (la LED is blinking). Module HC-06 configurationĬonfiguring the module HC-06 can be interesting to verify that it is working, hooked up correctly and to modify its parameters such as its name (useful when your are using several modules), PIN code and communication speed (baudrate). Especially, Arduino Mega, Micro and Leonardo. Depending on the microcontroller, some pins may not support SoftwareSerial communication. Does anyone know where a serial port controll can be found I searched the web,but was. WARNING : We use pin 2 and 3 of Arduino Uno. I want write delphi app for arduino serial com port communication.
0 Comments
Leave a Reply. |