Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <SoftwareSerial.h>
- SoftwareSerial bluetooth(8,7);
- void loop()
- {
- if (bluetooth.available())
- {
- Serial.write(bluetooth.read());
- }
- if (Serial.available())
- {
- bluetooth.write(Serial.read());
- }
- }
- void setup()
- {
- Serial.begin(9600);
- bluetooth.begin(9600);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement