Skip to content

Instantly share code, notes, and snippets.

@mathieulesniak
mathieulesniak / bt-arduino.ino
Last active August 29, 2015 14:00
Set a bluetooth connection with Arduino
#include <SoftwareSerial.h>
// Pins
#define BT_PIN_TX 7
#define BT_PIN_RX 6
#define BT_PIN_KEY 5
#define BT_CMD_RETRIES 3
boolean btErrorFlag = true;