Skip to content

Instantly share code, notes, and snippets.

@kreier
Created November 19, 2019 01:31
Show Gist options
  • Save kreier/9a770bef409459ff8820daa2326cbe6b to your computer and use it in GitHub Desktop.
Save kreier/9a770bef409459ff8820daa2326cbe6b to your computer and use it in GitHub Desktop.
T300
// Most simple setup with just 8 bluetooth keys
// Standard settings: A-up B-right C-down D-left E-fast F-select G-stop H-start autonomous - no extra keys
#include <SoftwareSerial.h>
#include <NewPing.h>
#include <Servo.h>
#define TRIGGER_PIN 2
#define ECHO_PIN 3
#define BUZZER_PIN 4
#define BLUETOOTH_RX 8
#define BLUETOOTH_TX 1
#define SERVO_PIN 9
#define E1 10 // enable - with PWM
#define M1 12
#define E2 11
#define M2 13
#define MAX_DISTANCE 350
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment