I have a brand new Teensy 4.1(Authentic, not a knock-off), and I am trying to upload this program to it just to make sure it works:
The Teensy does have the blinking light program working. When I try and upload that code, I get this error:
So I pressed the button, and it still responded the same. I then bought a new cable for data transfer, and that didn't work. I've looked at other questions on this site, none have helped me.
Running Linux OS based off of Ubuntu. And for the record, the Arduino Nano works fine with Arduino IDE, but Teensy doesn't. I installed the Arduino IDE library also.
Code:
void setup() {
Serial.begin(115200);
}
void loop() {
Serial.println(analogRead(0));
delay(100);
}
The Teensy does have the blinking light program working. When I try and upload that code, I get this error:
Code:
Opening Teensy Loader...
Memory Usage on Teensy 4.1:
FLASH: code:10988, data:2968, headers:8568 free for files:8103940
RAM1: variables:3488, code:8320, padding:24448 free for local variables:488032
RAM2: variables:12384 free for malloc/new:511904
Teensy did not respond to a USB-based request to enter program mode.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.
Failed uploading: uploading error: exit status 1
So I pressed the button, and it still responded the same. I then bought a new cable for data transfer, and that didn't work. I've looked at other questions on this site, none have helped me.
Running Linux OS based off of Ubuntu. And for the record, the Arduino Nano works fine with Arduino IDE, but Teensy doesn't. I installed the Arduino IDE library also.