Closed FigJam23 closed 2 years ago
You have some PSRAM error showing, I suggest you solve that first, this is not related to the library but seems some general problem in you IDE setup / programmer setup. Maybe you configured PSRAM but your device does not have any? Also you can manually flash the UI files in spiffs since in the beginning it seems you did not do do that and the logs indicated that the UI is missing. After attempt from the library to download the files manually the size shows as 0/-1 which seems not correct. Also upload a config Jain file to spiffs to get rid of that error message
You have some PSRAM error showing, I suggest you solve that first, this is not related to the library but seems some general problem in you IDE setup / programmer setup. Maybe you configured PSRAM but your device does not have any? Also you can manually flash the UI files in spiffs since in the beginning it seems you did not do do that and the logs indicated that the UI is missing. After attempt from the library to download the files manually the size shows as 0/-1 which seems not correct. Also upload a config Jain file to spiffs to get rid of that error message
hey, thanks
after flashing to a different esp32 all is working now.... any idea how I could add controls via keyboard or a joystick if even possible thanks even adding buttons to the esp would be really handy
Well, joystick or keyboard support is doable depending on the type of interface you want to use. If you use an old "non usb" joystick (15 pin connectors) you might be able to arrange for that with the regular IO Pins of the esp32, or use a ps2 keyboard and check for an PS2 library for the ESP (e.g. https://github.com/michalhol/ps2kbdlib ), there are also cheap modules to use ps2 keyboards via I2C, search for "PS2 Keyboard Driver Module Serial Port" on eBay (cost 3-4 bucks). Adding USB-host support for HID USB to an esp32 might be tricky and requires additional external hardware most likely. Never tried that. The "new" ESP-S2 has native USB support, you might get lucky with that one as well. Probably the best way to go would be to go with a BLE keyboard and use for example this library as a first start: https://github.com/chegewara/esp32-hid-keyboard-client But you are on your own there, I do not have practical experience with these type of interface devices and the esp32 and all links provided above are untested, just first hits that showed up on Google search.
thanks mate much appreciate the info ill have a play see what happens