Due to high demand expect some shipping delays at this time, orders may not ship for 1-2 business days.
0

How to use the Neo Trinkey touch inputs
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

How to use the Neo Trinkey touch inputs

by johnsondavies on Tue May 04, 2021 3:45 am

I'm trying to read the Neo Trinkey touch pins from a C program.

According to the neotrinkey_mo/variant.h file they are on Arduino pins 1 and 2, but when I do:

Code: Select all | TOGGLE FULL SIZE
void setup() {
  Serial.begin(9600);
  delay(5000);
  Serial.println("Ready");
}

void loop() {
  Serial.println(analogRead(1));
  delay(500);
}
my program just hangs up. Any suggestions?

johnsondavies
 
Posts: 47
Joined: Wed Sep 06, 2017 11:24 am

Please be positive and constructive with your questions and comments.