This commit is contained in:
2019-08-07 14:19:54 -05:00
parent 6c4cdab3bc
commit 8a8b43bc56
4 changed files with 139 additions and 1 deletions

View File

@@ -1,7 +1,9 @@
#include <Arduino.h>
#include "BluetoothSerial.h"
#include "carroEsp32.h"
#include "OpenTB6612FNG/OpenTB6612FNG.h"
OpenTB6612FNG misMotores(0);
BluetoothSerial ESP_BT; //Object for Bluetooth
@@ -13,7 +15,8 @@ void setup() {
}
void loop() {
misMotores.Forward();
misMotores.Motores(255,255);
if (ESP_BT.available()) //Check if we receive anything from Bluetooth
{
//incoming = ESP_BT.read(); //Read what we recevive