Git Product home page Git Product logo

Comments (16)

ricardoquesada avatar ricardoquesada commented on May 31, 2024 1

v3.7.2 released

from bluepad32.

ricardoquesada avatar ricardoquesada commented on May 31, 2024 1

yep. if it works with regular ESP32 Arduino, then it should work with ESP32-Bluepad32 Ardunio.

from bluepad32.

ricardoquesada avatar ricardoquesada commented on May 31, 2024

fixed, I'm assuming you are using the Arduino API.

will be part of the next stable release

https://gitlab.com/ricardoquesada/bluepad32/-/commit/227db920471c5fe78f40820e090124748df2cbcc
https://gitlab.com/ricardoquesada/bluepad32/-/commit/a702cc6c4b210c3df32f5ff86fcc5ce8b98c0a37

from bluepad32.

tapererwaj avatar tapererwaj commented on May 31, 2024

from bluepad32.

ricardoquesada avatar ricardoquesada commented on May 31, 2024

I don't have a date, but soon :)

perhaps in one week or less

from bluepad32.

tapererwaj avatar tapererwaj commented on May 31, 2024

from bluepad32.

tapererwaj avatar tapererwaj commented on May 31, 2024

fixed, I'm assuming you are using the Arduino API.

will be part of the next stable release

https://gitlab.com/ricardoquesada/bluepad32/-/commit/227db920471c5fe78f40820e090124748df2cbcc https://gitlab.com/ricardoquesada/bluepad32/-/commit/a702cc6c4b210c3df32f5ff86fcc5ce8b98c0a37

Can I also use this for the ESP32 DEVKIT?

from bluepad32.

tapererwaj avatar tapererwaj commented on May 31, 2024

I have tried using the disconnect class method through the Controller example as shown in the image below:

image

But the ESP32 just reboots and gives me the following error:
image

How can I resolve this issue?

from bluepad32.

ricardoquesada avatar ricardoquesada commented on May 31, 2024

mmm.... let me double check it.

from bluepad32.

ricardoquesada avatar ricardoquesada commented on May 31, 2024

I cannot reproduce it... seems to be working ok with me.

Please provide:

  • Platform you are using: Arduino IDE (which version), Arduino ESP-IDF (which ESP 4.4 version), etc..
  • OS: Linux, Windows, etc... (which version)
  • Gamepad and the FW used by the gamepad
  • somewhere post your entire sketch (not a screenshot... the code so that I can copy paste it)
  • the more info you add, the easier for me

from bluepad32.

tapererwaj avatar tapererwaj commented on May 31, 2024

Platform: Arduino IDE v2.1.0
ESP32 Chip - ESP32-D0WDQ6 (revision v1.0)
esptool.py v4.5.1
OS - Windows 11
Controller - PS5 Dual Sense

Arduino IDE Sketch:
Controller.zip

from bluepad32.

tapererwaj avatar tapererwaj commented on May 31, 2024

Platform: Arduino IDE v2.1.0
ESP32 Chip - ESP32-D0WDQ6 (revision v1.0)
esptool.py v4.5.1
OS - Windows 11
Controller - PS5 Dual Sense

Arduino IDE Sketch:
Controller.zip

from bluepad32.

ricardoquesada avatar ricardoquesada commented on May 31, 2024

In you code you have:

      if (myGamepad->x()) {
        // try to disconnect the controller
        myGamepad->disconnect();
        return;  // <--- DO NOT RETURN FROM update();
      }

just remove the return;

from bluepad32.

tapererwaj avatar tapererwaj commented on May 31, 2024

It works, thank you

from bluepad32.

tapererwaj avatar tapererwaj commented on May 31, 2024

Sorry to disturb, but can you assist me with my school project code below:
ESP32_Elephant_Master.zip

I am trying to use the ESP32 as a Bluetooth module for an Arduino mega. I will be using I2C for the communication between ESP32 and Arduino.

I tried implementing the Controller example but it causing the ESP to reboot every time I try to disconnect the controller.

from bluepad32.

ricardoquesada avatar ricardoquesada commented on May 31, 2024

look at the NINA code, which is similar as what you want but using SPI:
https://gitlab.com/ricardoquesada/bluepad32/-/blob/main/docs/plat_nina.md

from bluepad32.

Related Issues (20)

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.