hh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user