Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: PickyBiker

Search: Search took 0.00 seconds.

  1. Yes, I guess I grabbed the wrong name. ...

    Yes, I guess I grabbed the wrong name.

    PaulStoffregen thank you for the fix. I do appreciate it.
  2. Defragster nailed it. If "COM10 (Teensy)" is...

    Defragster nailed it. If "COM10 (Teensy)" is chosen, it fails every time but if "COM10 Serial (Teensy 4.0)" is chosen, it works every time.

    Thanks Defragster!
  3. Problem with Serial Monitor in Arduino IDE

    The Serial Monitor is showing the Teensy 4.0 as "offline" after uploading the sketch into an existing Serial Monitor. If a new Serial Monitor is started after uploading, everything works okay. But...
  4. defragster is correct. I tried the...

    defragster is correct. I tried the SPI.setSCK(14); and it didn't change anything. SCK was stil functioning on pin 13.

    Guess I need a different strategy for this.
  5. LED problem with Teensy 4.0 and TFT display

    The following code blinks the led in the teensy 4.0 once per second but if the TFT.Begin() command is executed, the LED won't blink. The Teensy is still running because the Serial print keeps going,...
  6. Replies
    2
    Views
    276

    The problem seems to be the PIN_Dx definitions...

    The problem seems to be the PIN_Dx definitions are only valid for older Teensy's. This link shows the ones that are valid for them: https://www.pjrc.com/teensy/td_digital.html

    I tried them on...
  7. Replies
    2
    Views
    276

    PIN_Dx definitions are causeng errors

    Arduino: 1.8.13 (Windows 10), TD: 1.53, Board: "Teensy 4.0, Serial, 600 MHz, Faster, US English"

    In the past I believe I have used Teensy IO pin definitions like PIN_Dx bu now when I try it gives...
  8. Replies
    6
    Views
    418

    This is great information. Looking at all the...

    This is great information. Looking at all the options available at the moment, it appears the Teensy 3.3 which is 5V tolerant is my best option. Thank you!
  9. Replies
    6
    Views
    418

    The PJRC site says, "Teensy 4.0 is the same size...

    The PJRC site says, "Teensy 4.0 is the same size and shape as Teensy 3.1, and retains compatibility with most of the pin functions on Teensy 3.2"

    So I ordered the SparlkFun shield for the 3.1. ...
  10. Replies
    6
    Views
    418

    Teensy 4.0 Shield ??

    I want to use an Arduino UNO shield with my Teensy 4.0. I see there is a shield that fits Teensy 3.1 & 3.2, but I need one for the Teensy 4.0.

    Does anyone make one for the Teensy 4.0?
  11. Replies
    7
    Views
    412

    My bad. I should have said Windows 10 PC. ...

    My bad. I should have said Windows 10 PC.

    When I say the PC doesn't see it, I mean when you plug in a USB device you normally get a sound to conform it was detected and then if you look in the...
  12. Replies
    7
    Views
    412

    Tried it on another computer and it worked....

    Tried it on another computer and it worked. Brought it back to this one and now it works!

    No clue what happened.
  13. Replies
    7
    Views
    412

    New Tesnsy 4.0 not being detected

    I just opened a brand new Teensy 4.0 and it is not detected when connected to the PC. It does power up and the red led does flash slowly, but the PC never sees it. Tried 2 different USB cables and...
  14. Thank you Luni. I believe I understand now. ...

    Thank you Luni.

    I believe I understand now.

    Best
  15. Yes that works asm("dsb")???? I have never...

    Yes that works

    asm("dsb")???? I have never seen heard of a dsb instruction, I know it is assembly but dsb ???

    I can't find a document for the 600 MHz Cortex-M7 processor that describes dsb.
    ...
  16. So i changed the initialization to...

    So i changed the initialization to Timer1.initialize(1000); (1ms) and the counter to if (cnt >= 1000) (should = 1 sec.

    It is still too fast. Does this mean the Timerlib code can't work correctly...
  17. I changed the code to move the Serial.print out...

    I changed the code to move the Serial.print out of the ISR. It did not help. It is still printing almost twice per second instead of once.


    Here is the modified code.


    #include <TimerOne.h>...
  18. Teensy 4.0 timer1, one second loop question

    The attached sketch should print a number every second but on my Teensy 4.0 it is printing almost 2 times per second.

    Can someone tell me what I am doing wrong?



    #include <TimerOne.h>
    ...
  19. Replies
    3
    Views
    226

    I moved the USB cable from the USB hub and...

    I moved the USB cable from the USB hub and plugged it directly into the PC and all is well. Go figure.
  20. Replies
    3
    Views
    226

    Something different about Teensy SPI?

    This simple sketch works on Arduino UNO but not on Teensy 4.0. On the Teensyit tries to display Hello World but it shows up in the wring place with some of the letters corrupted. I suspect the...
  21. Replies
    2
    Views
    328

    That seems to work. Thanks!

    That seems to work. Thanks!
  22. Replies
    2
    Views
    328

    RTC problem with Teensy 4.0

    The sketch below is the standard Arduino RCTLib example for DS1307. When run, it simply sends a serial message that says, "Couldn't find RTC", Is there something different that needs to be used on...
Results 1 to 22 of 22