Hi,
I'm restarting my learning but jumped in too deep. Trying to do uncanny eyes with a feather Huzzah 32 esp32 board and 2 tft 1.4 displays all from adafruit.
Can't seem to find a sketch that will work with this combination. The closest I could find was was animated eyes 2 in the espi example library but could seem to get the pins right.
Any advice or guidance would be appreciated.
Thanks!
Over my head. Uncanny eyes feather esp32/TFT
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Over my head. Uncanny eyes feather esp32/TFT
Oof.. yeah, we haven't ported the eyes to the ESP32.
The existing code is written for the M0 and M4 platforms, and uses special features of those devices. Making it work on the ESP32 platform would involve finding ways to use the low-level hardware to get the same level of performance.
We don't have any timetable for doing that project ourselves, and I wouldn't consider it an attractive project for someone who's getting up to speed again.
In this case, I'd suggest switching dev boards or switching projects.
The existing code is written for the M0 and M4 platforms, and uses special features of those devices. Making it work on the ESP32 platform would involve finding ways to use the low-level hardware to get the same level of performance.
We don't have any timetable for doing that project ourselves, and I wouldn't consider it an attractive project for someone who's getting up to speed again.
In this case, I'd suggest switching dev boards or switching projects.
- JayCH
- Posts: 3
- Joined: Wed Feb 15, 2023 9:30 pm
Re: Over my head. Uncanny eyes feather esp32/TFT
Thanks! Would this board work for the project?
Adafruit (PID 3403 Feather M0 Express - Designed for CircuitPython - ATSAMD21 Cortex M0
The instructions say it works for "most" MO boards.
Adafruit (PID 3403 Feather M0 Express - Designed for CircuitPython - ATSAMD21 Cortex M0
The instructions say it works for "most" MO boards.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Over my head. Uncanny eyes feather esp32/TFT
Yes, that will work.
All of our M0 boards use the same microcontroller, but the ones with built-in radios or Wifi modules already have things conneted to the SPI bus. Those connections are what cause problems.
The Feather M0 Express doesn't have any SPI connections to get in the way.
All of our M0 boards use the same microcontroller, but the ones with built-in radios or Wifi modules already have things conneted to the SPI bus. Those connections are what cause problems.
The Feather M0 Express doesn't have any SPI connections to get in the way.
- JayCH
- Posts: 3
- Joined: Wed Feb 15, 2023 9:30 pm
Re: Over my head. Uncanny eyes feather esp32/TFT
thanks. for what its worth, getting it to work on a feather express m0 required changing the PIN numbers in the config.h file. Changed the last two lines to pins that were on the feather. works fine. thanks again for the help
// Enable ONE of these #includes to specify the display type being used
//#include <Adafruit_SSD1351.h> // OLED display library -OR-
#include <Adafruit_ST7735.h> // TFT display library (enable one only)
#if defined(ADAFRUIT_TRINKET_M0)
#define DISPLAY_DC 1
#define DISPLAY_RESET -1 // Use MCU reset pin
#else
#define DISPLAY_DC 12 // Data/command pin for ALL displays
#define DISPLAY_RESET 13 // Reset pin for ALL displays
// Enable ONE of these #includes to specify the display type being used
//#include <Adafruit_SSD1351.h> // OLED display library -OR-
#include <Adafruit_ST7735.h> // TFT display library (enable one only)
#if defined(ADAFRUIT_TRINKET_M0)
#define DISPLAY_DC 1
#define DISPLAY_RESET -1 // Use MCU reset pin
#else
#define DISPLAY_DC 12 // Data/command pin for ALL displays
#define DISPLAY_RESET 13 // Reset pin for ALL displays
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Over my head. Uncanny eyes feather esp32/TFT
Glad to hear you got it working, and thanks for posting the follow-up. Happy hacking!
Please be positive and constructive with your questions and comments.