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

Search:

Type: Posts; User: Zane470

Search: Search took 0.00 seconds.

  1. Never mind, figured it out. Just needed to add...

    Never mind, figured it out.

    Just needed to add Serial.send_now() at the end to send everything in the TX buffer -- https://www.pjrc.com/teensy/td_serial.html#txbuffer


    void setup()
    {
    ...
  2. Why is serial.write() laggy compared to a normal arduino?

    Hello,

    I'm trying to write data to the serial port at 1Khz and then I'm plotting it with SerialPlot: https://hackaday.io/project/5334-serialplot-realtime-plotting-software/discussion-88924

    On a...
  3. Replies
    3
    Views
    280

    Thanks for the info!

    Thanks for the info!
  4. Replies
    3
    Views
    280

    Teensy 4.1 USB Host Questions

    Maybe this is a dumb question, but is it possible to use the Teensy 4.1 USB host hardware to communicate directly with a PC? I essentially want the USB host on the teensy to send raw data back and...
  5. Replies
    5
    Views
    334

    Thanks! Looks like even the flexio stuff won't...

    Thanks! Looks like even the flexio stuff won't work on pins 30 & 31 :/

    Oh well, I'm not actually using all of the hardware serial ports at the moment so I'll just solder some wires from 30 & 31 to...
  6. Replies
    5
    Views
    334

    Does SoftwareSerial work on Teensy 4.1?

    Hello,

    On a custom circuit board I connected a uBlox GPS module to pins 30 & 31. I'm using the 8 hardware serial ports for something else, so I was planning on using the SoftwareSerial library to...
  7. The datasheet claims that when using the DMP it...

    The datasheet claims that when using the DMP it does some sort of a continuous automatic calibration. After this weekend I'll look through the datasheet and code a bit more to see if that is actually...
  8. ICM-20948 Motion Sensor Library for Teensy (the newer+better MPU-9250)

    I've written an Arduino library for the ICM-20948 motion sensor which uses the internal DMP (digital motion processor). I've tested it using a Teensy 4.1 and it seems to work well.

    Library can be...
  9. Replies
    10
    Views
    531

    Thanks blackketter and Kurt, that was the info I...

    Thanks blackketter and Kurt, that was the info I needed!
  10. Replies
    10
    Views
    531

    20066 This better illustrates the problem. The...

    20066

    This better illustrates the problem. The bottom USB header isn't vertically aligned with anything...no idea how far up I need to move it. Also not completely sure about the Ethernet...
  11. Replies
    10
    Views
    531

    Thanks -- that would be super useful but I'm...

    Thanks -- that would be super useful but I'm using Diptrace.
  12. Replies
    10
    Views
    531

    Do you know the horizontal+vertical distance...

    Do you know the horizontal+vertical distance these are in reference to anything else on the board?
  13. Replies
    10
    Views
    531

    In need of complete Teensy 4.1 dimensions

    Hello,

    I'm making a circuit board that a Teensy 4.1 will plug into. I have all of the dimensions I need except for the USB and ethernet pins. Does anyone have this info?

    20065
  14. Figured it out. It was a combination of two...

    Figured it out. It was a combination of two issues.

    1.) I had to strip out all of the AVR related PROGMEM stuff from The Things Network library. It was causing all of the strings to be corrupted....
  15. Teensy 3.2 -- Corrupted serial port values when run above 48MHz?

    Hello,

    I'm trying to communicate with a Microchip LoRaWAN modem (RN2903) using a Teensy 3.2. It works well when using the code at the bottom.

    The problem is that it only works when I set the...
  16. Replies
    5
    Views
    609

    uint32_t FreeMem(){ // for Teensy 3.0 ...

    uint32_t FreeMem(){ // for Teensy 3.0
    uint32_t stackTop;
    uint32_t heapTop;

    // current position of the stack.
    stackTop = (uint32_t) &stackTop;

    // current position of heap....
  17. Replies
    5
    Views
    609

    Teensy 3.2 running out of RAM?

    Hello,

    I'm using a Teensy 3.2 for a project, and it's working great, but I'm having some very bizarre issues -- I suspect the device is somehow running out of RAM. I'm not using all that many...
Results 1 to 17 of 17