debugging question - basic check

Status
Not open for further replies.

gony

Well-known member
hello all ,
*edit*
not relevant anymore , is there a way to delete a thread?
 
Last edited:
hello all ,
i started working with the teensy 2 weeks ago and everything went well with tutorials , now i moved to my own program and got to the testing phase and things are not responding .
i'm trying to make the teensy produce any output pulse so i could track it with an oscilloscope , tried writing a very basic code , any ideas why its not working ?
Code:
void setup() {
  // put your setup code here, to run once:
   pinMode(34,OUTPUT);
 
}

void loop() {
  // put your main code here, to run repeatedly:
    digitalWriteFast(34, HIGH);//reward
}

i connected the teensy to the usb , compiled and uploaded the code . now its supposed to be running right?

What do want to see? Your code switches Pin 34 high. Never low. Maybe there is a digitalWriteFast(34, 0); missing?
 
Last edited:
Status
Not open for further replies.
Back
Top