0

uncanny eyes with Teensy 3.1
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: uncanny eyes with Teensy 3.1

by Alex_Unknown on Mon Oct 30, 2017 9:41 am

When I try the blink sketch it tells me the same error where I'm not pressing the button. However it doesn't say it's too big to load.

Alex_Unknown
 
Posts: 4
Joined: Sun Oct 29, 2017 10:44 pm

Re: uncanny eyes with Teensy 3.1

by pburgess on Mon Oct 30, 2017 12:53 pm

Since it's a general Teensy issue with any sketch you'll probably get a quicker and more informed response in PJRC's forum:
https://forum.pjrc.com

I've seen this before a long time back and can't recall what triggered it. Might've been as simple as a reboot or using a different USB port.

pburgess
 
Posts: 3887
Joined: Sun Oct 26, 2008 2:29 am

Re: uncanny eyes with Teensy 3.1

by Alex_Unknown on Mon Oct 30, 2017 8:41 pm

I tried what you said but it still doesn't work. Does this have anything to do with the teensy board not lighting up when it's plugged in? Because if so my board doesn't light up when plugged in only the backpack does.

Alex_Unknown
 
Posts: 4
Joined: Sun Oct 29, 2017 10:44 pm

Re: uncanny eyes with Teensy 3.1

by pburgess on Mon Oct 30, 2017 9:01 pm

Teensy doesn't have a power LED, so it's normal that you won't see anything.

pburgess
 
Posts: 3887
Joined: Sun Oct 26, 2008 2:29 am

Re: uncanny eyes with Teensy 3.1

by Alex_Unknown on Mon Oct 30, 2017 9:06 pm

Ok thank you I saw people with what looked like LEDs on their teensy but I guess not XD. Anyway I've been looking through the website you gave me and can't seem to find anything that will help.

Alex_Unknown
 
Posts: 4
Joined: Sun Oct 29, 2017 10:44 pm

Re: uncanny eyes with Teensy 3.1

by flightrisk on Wed Nov 01, 2017 8:36 am

Did you get it working? I was going to say try a different cable if you had not already. Also, my Teensy 3.2 DOES have a power led since mine has always lit up the minute I plugged it in to let me know it was working. It comes with the blink sketch loaded, so immediately starts flashing the LED. When I run the uncanny eyes sketch, the LED lights orange the instant I plug it in, then it goes out, then it comes back on once the sketch starts running. The other thing I thought of is, are you sure the cable is plugged in correctly? It is upside down from what I would think is "normal". It is almost impossible to tell on my Teensy which way is the small end which I think is a design flaw in the connector. The USB cable is like a trapezoid with a wider part, call it bottom and a narrower part, call it top. The top usually has the USB icon printed on it. The top or narrower part goes towards the bottom or what used to be called the "solder side" of the Teensy board.

flightrisk
 
Posts: 28
Joined: Wed Jan 19, 2011 2:54 pm

Re: uncanny eyes with Teensy 3.1

by bentley on Thu Nov 16, 2017 11:54 pm

keep getting this compile error. library was downloaded direct from Github, tried on two different machines.

Arduino: 1.8.5 (Windows 7), TD: 1.40, Board: "Teensy 3.2 / 3.1, Serial, 72 MHz, Faster, US English"

In file included from C:\Users\User\Desktop\uncannyEyes\uncannyEyes.ino:1:0:

C:\Users\User\Documents\Arduino\libraries\Adafruit_1351/Adafruit_SSD1351.h:91:1: error: expected class-name before '{' token

{ public:

^

Error compiling for board Teensy 3.2 / 3.1.

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

bentley
 
Posts: 1
Joined: Thu Nov 16, 2017 11:43 pm

Re: uncanny eyes with Teensy 3.1

by pburgess on Fri Nov 17, 2017 2:26 am

There seems to be a spurious '{' character in the library header file. This isn't present in the code on Github. Re-install the library and give it another try.

pburgess
 
Posts: 3887
Joined: Sun Oct 26, 2008 2:29 am

Please be positive and constructive with your questions and comments.