Hello, I need help with the execution of a program in arduino iot I am trying to use the esp32 with bluetooth, but when I am going to run the code, it out a error, is this one.
Sketch too big; see https://support.arduino.cc/hc/en-us/art ... 0013825179 for tips on reducing it. Error during build: text section exceeds available space in board.
it just happen when I have this line. BluetoothSerial SerialBT;
I don't know what is happening here because in "arduio ide" its okay. if someone can help me, thanks.
#include "thingProperties.h"
int LED = 13;
#include "BluetoothSerial.h"
#if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)
#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it
#endif
BluetoothSerial SerialBT;
void setup() {
pinMode(LED, OUTPUT);
// Initialize serial and wait for port to open:
Serial.begin(115200);
SerialBT.begin("ESP32test"); //Bluetooth device name
Serial.println("The device started, now you can pair it with bluetooth!");
// This delay gives the chance to wait for a Serial Monitor without blocking if none is found
delay(1500);
// Defined in thingProperties.h
initProperties();
ESP32 Bluetooth connecting in ARDUINO IOT error
ESP32 Bluetooth connecting in ARDUINO IOT error
- Attachments
-
- Error
- Captura de pantalla 2023-11-17 001622.png (111.04 KiB) Viewed 4227 times
-
- Posts: 830
- Joined: Mon Jul 22, 2019 3:20 pm
Re: ESP32 Bluetooth connecting in ARDUINO IOT error
You are much more likely to get an answer at https://github.com/arduino-libraries/Ar ... oud/issues
Who is online
Users browsing this forum: lbernstone and 100 guests