Comments (10)
fixed. confirmed by jjs357 user. It is working Ok now.
from bluepad32.
I tried to follow the guide, but it is not working for me right now. I have an Arduino Nano ESP32 and a PS4 Controller.
from bluepad32.
@Freihaendich wait until v4.0-beta2 is released.... alternative use develop
branch of https://github.com/ricardoquesada/esp-idf-arduino-bluepad32-template
from bluepad32.
re-opening... using "print" works Ok, but not with Serial.printf()
... WTF... something is wrong with UART... not sure what.
from bluepad32.
Same issue with the Lolin S3 Mini.
What these two boards have in common is that the share the UART and USB OTG ports... they have just one port.
And Serial
, instead of being redirected to "right" port, it gets redirected somewhere else (?).
from bluepad32.
Having "USB CDC on Boot : Enabled" fixes the issue...
But the bug seems to be that "boards.txt" is not being used correctly, because nano_nora
entry (the Arduino Nano ESP32) has nano_nora.build.cdc_on_boot=1
.
And that would explain why the Arduino Nano ESP32 gets recognized as a different board
from bluepad32.
Something seems to be happening when BTstack is initialized. I'm not calling btstack_stdio_init()
... so something else, not clear what yet
from bluepad32.
The solution for "Arduino Nano ESP32" is to:
- Make sure the "Arduino Nano ESP32" board is selected
Tools
->USB Mode
->Debug Mode (Hardware CDC)
- and then compile and flash the sketch again
from bluepad32.
For other boards, like "Lolin S3 Mini" do:
- Make sure the 'Lolin S3 Mini' is selected
Tools
->USB CDC On Boot
->Enabled
- and then compile and flash the sketch again
from bluepad32.
I am trying to run the example on an Adafruit Huzzah32 and I get this compiler error about PINS_COUNT not being define anywhere
\Users\ck\Documents\Arduino\libraries\Bluepad32_for_NINA-W10_boards\src\utility\spi_drv.cpp" -o "C:\Users\ck\AppData\Local\Temp\VMBuilds\Bluepad32_ESP32_Gamecontroller_Connection_Test\esp32_featheresp32\Debug\Bluepad32_for_NINA-W10_boards\utility\spi_drv.cpp.o"
spi_drv.cpp: In static member function static void SpiDrv::begin()
spi_drv.cpp: 91:20: error: 'PINS_COUNT' was not declared in this scope
if (SLAVERESET > PINS_COUNT) {
^~~~~~~~~~
from bluepad32.
Related Issues (20)
- ESP32 Pico D4 support HOT 2
- bluepad32 arduino library should be open source HOT 3
- Dualsense PS5 controller bluetooth range? HOT 3
- Add setFlash option for Dualsense RGB LED HOT 2
- Timeout selection need for disconnected controller HOT 2
- PS4 esp32 HOT 3
- Add improved Rumble API: weak / strong magnitude, delayed start, and duration in ms HOT 1
- Arduino Nano ESP32 / Lolin S3 mini: Serial output not working HOT 3
- [Bug]: 8bitdo controllers go into constant rumble with new play_dual_rumble API HOT 25
- [Bug]: Pico SIGTRAP in Switch IMU parsing
- Filter gamepad connection HOT 2
- [Bug]: erro ao baixar pacote de placas HOT 7
- [Bug]: Failed to disconnect HIDS client for hids_cid=0, status=2 HOT 1
- [Bug]: 4.0.2 reports weird 99.99.99 version after flashing HOT 6
- [Bug]: More than three Xboxone handles will cause problems HOT 15
- [Bug]: Xbox One controller hangs on pairing HOT 8
- [Bug]: Warning message when Gamesir T3s connects HOT 1
- ESP32-C3 does not found Switch / 8Bitdo Controller but XBOX Wireless Controller HOT 3
- SDK Config Parameter for Analog->Digital presses HOT 1
- SDK parameter to control button remapping by position or lettering HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluepad32.