Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Error when compiling Uncanny Eyes - has no member named 'sen
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Error when compiling Uncanny Eyes - has no member named 'sen

by jyounger on Mon Jul 22, 2019 12:17 am

Hello beautiful people,

I am new to Arduino and have been having a terrific time assembling the Uncanny Eyes hardware with TFT screens. The screens come on when turned on and I was able to test the circuit with Blink.

After I installed the Uncanny Eyes sketch and related libraries, I am now stuck with this compiler error. Any help you might provide would be greatly appreciated.

------------------------------------ Error Message ------------------------------------------------------

Arduino: 1.8.9 (Windows 10), TD: 1.46, Board: "Teensy 3.2 / 3.1, Serial, 72 MHz, Faster, US English"

uncannyEyes: In function 'void setup()':
uncannyEyes:252: error: 'displayType {aka class Adafruit_SSD1351}' has no member named 'sendCommand'
eye[e].display->sendCommand(SSD1351_CMD_SETREMAP, e ?

^

'displayType {aka class Adafruit_SSD1351}' has no member named 'sendCommand'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

jyounger
 
Posts: 1
Joined: Sun Jul 21, 2019 11:39 pm

Re: Error when compiling Uncanny Eyes - has no member named

by XRAD on Mon Jul 22, 2019 8:44 pm

most recent github SSD1351 lib?

have the config.h file in the sketch folder?

one eye or two?

by 'blink' test , you mean to test pin 13 on teensy, worked OK?

You probably already know this, but the code and the pin connects to OLED are of course two different things. to test the ssd1351 wiring to teensy pins, may want to try a basic Adafruit GFX test first. get that running, and then move to the eye code (which is one of the more complex codes you can stuff into the teensy!)

XRAD
 
Posts: 585
Joined: Sat Nov 19, 2016 3:28 pm

Re: Error when compiling Uncanny Eyes - has no member named

by adafruit_support_carter on Wed Jul 24, 2019 2:13 pm

Seems like maybe a library issue. Make sure they are all latest versions. Including the GFX library.

Adafruit_SSD1351 inherits from Adafruit_SPITFT which has sendCommand():
https://github.com/adafruit/Adafruit-GF ... TFT.h#L197

adafruit_support_carter
 
Posts: 16820
Joined: Tue Nov 29, 2016 2:45 pm

Re: Error when compiling Uncanny Eyes - has no member named

by Sparky56 on Thu Aug 06, 2020 10:38 am

I just finished building another "Eye of Newt" and I had the same error.
Roll back your Adafruit SSD1351 library to version 1. 1 .1
The original Uncanny Eyes, and Eye of Newt use the older version of the Adafruit SSD1351 library.
This will only work if you totally remove your current version of the library from the Arduino IDE, restart Arduino IDE and then install the older version. Then restart Arduino IDE again and you should have it without changing any sketches. Only takes a few minutes.

Sparky56
 
Posts: 32
Joined: Tue Nov 14, 2017 6:38 pm

Please be positive and constructive with your questions and comments.