Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get other Arduboy games run on esp32 with Arduboy_Base? #167

Open
JackIsGoofingOff opened this issue Jan 5, 2025 · 2 comments
Open
Assignees
Labels

Comments

@JackIsGoofingOff
Copy link

Ask any question, you have, regarding the library
Hi, I am sorry if i asked a stupid question. I got nano_engine examples run successfully on my esp32 & opened the Arduboy_base example. Well, but I was totally confused about how to load other arduboy games with the engine. I mean, how to get my custom button setup and, was SD card necessary for storing the game? Thank you for your help.

@lexus2k
Copy link
Owner

lexus2k commented Jan 5, 2025

Hi @JackIsGoofingOff

You don't need to have SD-card to run any examples from lcdgfx/ssd1306 libraries. Originally ArduBoy and a platform based on AVR ATmega32u4 chipset. There is an example on how to initialize Arduboy hardware: ArduBoy_Base. This example shows how to work with button keys and lcd screen on this platform.

If you are using a different hardware (esp32 or whatever), the initialization sequence depends on a schematics.
Other games from this library can be modified with correct pins to use, so you will be able to run them on ESP32.
Check pins in ssd1306_128x64_spi_init function and connectCustomKeys API. It will help you

@JackIsGoofingOff
Copy link
Author

Thank for your reply. I think i had run Arduboy_base successfully on esp32. But the real question is, I checked the Arduboy library on Google and figure out that the API functions wasn't exactly the same as nano engine arduboy which made the migration difficult. I am just seeking for any solutions for that, thank you again~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants