-
1Run a Program
#include
SoftwareSerial HC05(2,3);
void setup()
{
Serial.begin(9600);
Serial.println("Enter AT commands:");
HC05.begin(38400);
}
void loop()
{
if (HC05.available())
Serial.write(HC05.read());
if (Serial.available())
HC05.write(Serial.read());
}
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.