Giter VIP home page Giter VIP logo

stempedia / dabbleesp32 Goto Github PK

View Code? Open in Web Editor NEW
39.0 39.0 16.0 130 KB

DabbleESP32 is library for using Dabble app with ESP32. It uses BLE of ESP32 for communicating with the app. The app consists virtual modules that help in accessing certain features of smartphone via hardware and helps in providing hardware control via smartphone.

License: GNU Lesser General Public License v3.0

C++ 99.06% C 0.94%

dabbleesp32's People

Contributors

dhrupal93 avatar mimansamaheshwari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dabbleesp32's Issues

cannot compile code with esp32 Bluetooth code. issue with esp32BLUEUtilities

C:\Program Files\PictoBlox\resources\arduino-1.8.5\hardware\espressif\esp32\libraries\esp32BLEUtilities\esp32BLEUtilities.cpp: In member function 'void Esp32ble::begin(std::__cxx11::string)':
C:\Program Files\PictoBlox\resources\arduino-1.8.5\hardware\espressif\esp32\libraries\esp32BLEUtilities\esp32BLEUtilities.cpp:155:3: error: 'bleServer' was not declared in this scope
bleServer = BLEDevice::createServer();
^
C:\Program Files\PictoBlox\resources\arduino-1.8.5\hardware\espressif\esp32\libraries\esp32BLEUtilities\esp32BLEUtilities.cpp:162:3: error: 'bleTxCharacteristic' was not declared in this scope
bleTxCharacteristic = bleService->createCharacteristic(
^
C:\Program Files\PictoBlox\resources\arduino-1.8.5\hardware\espressif\esp32\libraries\esp32BLEUtilities\esp32BLEUtilities.cpp: In member function 'void Esp32ble::write(uint8_t)':
C:\Program Files\PictoBlox\resources\arduino-1.8.5\hardware\espressif\esp32\libraries\esp32BLEUtilities\esp32BLEUtilities.cpp:199:5: error: 'bleTxCharacteristic' was not declared in this scope
bleTxCharacteristic->setValue(&a, 1);
^
C:\Program Files\PictoBlox\resources\arduino-1.8.5\hardware\espressif\esp32\libraries\esp32BLEUtilities\esp32BLEUtilities.cpp: At global scope:
C:\Program Files\PictoBlox\resources\arduino-1.8.5\hardware\espressif\esp32\libraries\esp32BLEUtilities\esp32BLEUtilities.cpp:206:3: error: expected unqualified-id before 'if'
if (!isDeviceConnected && prevDeviceConnected)
^
C:\Program Files\PictoBlox\resources\arduino-1.8.5\hardware\espressif\esp32\libraries\esp32BLEUtilities\esp32BLEUtilities.cpp:215:1: error: expected declaration before '}' token
}
^
exit status 1

While if i copy code and program using Arduino ide it work perfectly.

my esp32 keeps disconnecting

hi i have this weird issue, when i connect to my esp32 c3 with my dabble app it connects and then right after it gives me an '' disconnected Myesp32'' message but i works just fine on my regular esp32.
does anyone have an solution for this?

example 02 terminal does not compile cc1plus.exe: some warnings being treated as errors

Hi,
I installed the dabbleESP32-library with the Arduino-IDE version 1.8.12 library-manager.
then I opened the example 02.terminal and tried to compile it but it refuses to compile.

With such a buggy library you are just adding to the huge group of "upload it quick and dirty without any testing"-nerds which produces the opposite of liking STEM

This is the error-output

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\DabbleInputs.cpp: In member function 'bool DabbleInputs::getSlideSwitchStatus(uint8_t, uint8_t)':

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\DabbleInputs.cpp:192:1: error: control reaches end of non-void function [-Werror=return-type]

}

^

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\DabbleInputs.cpp: In member function 'bool DabbleInputs::getTactileSwitchStatus(uint8_t)':

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\DabbleInputs.cpp:210:1: error: control reaches end of non-void function [-Werror=return-type]

}

^

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\DabbleInputs.cpp: In member function 'int DabbleInputs::getPotValue(uint8_t)':

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\DabbleInputs.cpp:222:1: error: control reaches end of non-void function [-Werror=return-type]

}

^

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\ColorDetectorModule.cpp: In member function 'float ColorPrediction::getColorError(uint8_t*, uint8_t*)':

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\ColorDetectorModule.cpp:435:19: warning: comparison is always false due to limited range of data type [-Wtype-limits]

if((colorValue[0]==-1) || (colorValue[1]==-1) || (colorValue[2]==-1))

               ^

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\ColorDetectorModule.cpp:435:42: warning: comparison is always false due to limited range of data type [-Wtype-limits]

if((colorValue[0]==-1) || (colorValue[1]==-1) || (colorValue[2]==-1))

                                      ^

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\ColorDetectorModule.cpp:435:65: warning: comparison is always false due to limited range of data type [-Wtype-limits]

if((colorValue[0]==-1) || (colorValue[1]==-1) || (colorValue[2]==-1))

                                                             ^

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\ColorDetectorModule.cpp: In member function 'int ColorDetectorModule::getRedColor(byte, byte)':

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\ColorDetectorModule.cpp:221:1: error: control reaches end of non-void function [-Werror=return-type]

}

^

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\ColorDetectorModule.cpp: In member function 'int ColorDetectorModule::getGreenColor(byte, byte)':

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\ColorDetectorModule.cpp:252:1: error: control reaches end of non-void function [-Werror=return-type]

}

^

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\ColorDetectorModule.cpp: In member function 'int ColorDetectorModule::getBlueColor(byte, byte)':

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\ColorDetectorModule.cpp:282:1: error: control reaches end of non-void function [-Werror=return-type]

}

^

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\ColorDetectorModule.cpp: In member function 'int ColorDetectorModule::getColorValue(uint8_t, uint8_t, uint8_t)':

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\ColorDetectorModule.cpp:372:1: error: control reaches end of non-void function [-Werror=return-type]

}

^

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\ColorDetectorModule.cpp: In member function 'int ColorDetectorModule::getGrayScaleColor(byte, byte)':

C:\Users\Stefan\Documents\Arduino\libraries\DabbleESP32\src\ColorDetectorModule.cpp:403:1: error: control reaches end of non-void function [-Werror=return-type]

}

^

cc1plus.exe: some warnings being treated as errors

What happened to the oscilloscope feature?

In the readme you have mentioned an oscilloscope feature.

"9. Oscilloscope: Visualise and analyse the input and output signals given to the device using the oscilloscope module."

I can not find it in the examples.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.