STMPE610 Touch Controller - Arduino library verify fails

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
helu_ca
 
Posts: 2
Joined: Sun Oct 13, 2013 10:51 pm

STMPE610 Touch Controller - Arduino library verify fails

Post by helu_ca »

I have connected an STMPE610 breakout board to an Arduino Due, but the verify failed because 2 variables are not declared in Adafruit_STMPE610.cpp. I added:

Code: Select all

uint8_t SPCR;
uint8_t SPI_CLOCK_DIV16;
and it works fine now. Was this omitted intentionally? Great board BTW!

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: STMPE610 Touch Controller - Arduino library verify fails

Post by adafruit_support_rick »

That works? There is no SPCR register on the Due - it's specific to the AVR architecture. If it works, then the library must be using the SPI library instead of directly manipulating SPI registers.

Just had a look at the library. It might not play nicely with other SPI devices on the Due.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”