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

Search:

Type: Posts; User: PaulStoffregen

Page 1 of 10 1 2 3 4

Search: Search took 0.11 seconds.

  1. We can see only the last line of the error info...

    We can see only the last line of the error info in those screenshots.

    Enlarge the bottom console section. You can select that text and use CTRL-C to copy it, then paste it here in a message.
  2. OctoWS2811 was only recently ported to Teensy...

    OctoWS2811 was only recently ported to Teensy 4.0. You need to use the latest beta version.

    https://forum.pjrc.com/threads/60354-Teensyduino-1-52-Beta-2
  3. Yes, 1uF is far too much. Something in the 1nF...

    Yes, 1uF is far too much. Something in the 1nF to 10nF range is probably as high as you should go.

    Focus on a low value pullup resistor, like 1K or even 330 ohms.
  4. Be careful not to add too much capacitance on...

    Be careful not to add too much capacitance on Reset. If it's too heavily loaded, the bootloader may not work.
  5. Yes, if you really want to edit the code, you...

    Yes, if you really want to edit the code, you can. The file is {Arduino}/hardware/teensy/avr/cores/teensy3/pins_teensy.c. If using Windows, the default Arduino location is C:/Program Files...
  6. Noise coupling to the Program pin is the most...

    Noise coupling to the Program pin is the most like cause. If you are not pressing the button, try soldering a wire directly from Program to 3.3V. Or use a 100 ohm resistor if you wish to still...
  7. Replies
    17
    Views
    182

    Mouser is an authorized distributor. Seems...

    Mouser is an authorized distributor. Seems unlikely they'd be selling counterfeits.

    I can not explain why that 1 sensor you are using does not work. Your wiring appears to be correct.

    I...
  8. Replies
    17
    Views
    182

    Maybe also try a lower value resistor, like 2.2K...

    Maybe also try a lower value resistor, like 2.2K or 2.7K.

    4.7K is definitely working here with a genuine DS18B20. But I've seen reports that a lower value resistor is sometimes needed when using...
  9. Replies
    17
    Views
    182

    I'm running it here on a Teensy 4.0, using the...

    I'm running it here on a Teensy 4.0, using the same sensor as the photos on msg#3, but plugged into pin 2.

    Seems to be working fine.

    19614

    Try turning on verbose output while compiling in...
  10. Replies
    17
    Views
    182

    Which program are you running? That doesn't look...

    Which program are you running? That doesn't look like the OneWire DS18x20_Temperature example.

    If you can post the code or point me to the exact file online, I'll give that a try here.
  11. Replies
    17
    Views
    182

    Maybe something isn't connected correctly? We...

    Maybe something isn't connected correctly? We might be able to help if you could show photos of your wiring.

    This absolutely does work with Teensy 4.0 when connected properly, as I hope you can...
  12. Replies
    17
    Views
    182

    I also checked using "parasite power" mode with...

    I also checked using "parasite power" mode with Teensy 4.0. Works fine with the 4.7K resistor connected between pin 10 and 3.3V.

    19606
  13. Replies
    17
    Views
    182

    As a quick check, I connected a DS18B20 to Teensy...

    As a quick check, I connected a DS18B20 to Teensy 4.0 and run the DS18x20_Temperature example. OneWire definitely does work on Teensy 4.0.

    19604

    19605

    I tested with Arduino 1.8.12 and...
  14. Replies
    17
    Views
    182

    Connect the 4.7K resistor to 3.3V.

    Connect the 4.7K resistor to 3.3V.
  15. I fixed this issue in 1.52-beta2 (the 10.10-10.15...

    I fixed this issue in 1.52-beta2 (the 10.10-10.15 build for Catalina).

    https://forum.pjrc.com/threads/60354-Teensyduino-1-52-Beta2

    If you're still running MacOS 10.13, please give it a try and...
  16. Replies
    82
    Views
    4,808

    I've added this to my list of issues to fix in...

    I've added this to my list of issues to fix in beta3.
  17. Replies
    82
    Views
    4,808

    I can not reproduce this problem on my Macbook...

    I can not reproduce this problem on my Macbook Air running Catalina 10.15.4.

    19597
  18. I want to attempt a toolchain about 1 month after...

    I want to attempt a toolchain about 1 month after Teensy 4.1 is released.
  19. Replies
    82
    Views
    4,808

    For Teensy 4, yes, planned. But not coming in...

    For Teensy 4, yes, planned. But not coming in beta2.

    For Teensy 3, probably not.
  20. If your boards don't have serial numbers (or even...

    If your boards don't have serial numbers (or even if they do), you can edit usb_init_serialnumber() in usb_desc.c to initialize the serial number to anything you like. Then look for that info in the...
  21. That is GUID_DEVINTERFACE_COMPORT, which means...

    That is GUID_DEVINTERFACE_COMPORT, which means Windows detected it as the "Ports" class of device. All serial ports, whether Teensy serial or FTDI USB serial or cable modems or even the built in...
  22. I found the cause of the Catalina version not...

    I found the cause of the Catalina version not running on MacOS 10.13. The makefile was missing "-mmacosx-version-min=10.10" for the Catalina build of Teensy Loader.

    Why it's able to run on 10.10...
  23. Is that Bela the audio add-on for Beaglebone? Or...

    Is that Bela the audio add-on for Beaglebone? Or some other "Bela" I don't know?
  24. Try adding the optional 4th "cable" parameter...

    Try adding the optional 4th "cable" parameter when sending. Normally it defaults to 0. So to send to the other port, try something like this:


    mydevice.sendNoteOn(60, 99, 1, 1);
  25. Yes, the old Mac installer breaks the code...

    Yes, the old Mac installer breaks the code signature.

    The newer copy of Teensyduino, which is a complete copy of Arduino with all Teensyduino stuff already installed, has a proper code signature. ...
  26. Replies
    5
    Views
    141

    Look for those names on the schematic. ...

    Look for those names on the schematic.

    https://www.pjrc.com/teensy/schematic.html

    NXP uses more complex names than simple 1 letter and a number. They are names like "AD_B1_09" or "EMC_07".
  27. Replies
    6
    Views
    169

    Yes, Teensy 3.5 is 5V tolerant on those pins. So...

    Yes, Teensy 3.5 is 5V tolerant on those pins. So you can use pullup resistors to 5V. You can use 5V I2C chips without a level converter.
  28. I've never used the TPM timer this way. But from...

    I've never used the TPM timer this way. But from the manual, it seems PTE29 (the DAC pin) is the only pin available on Teensy LC which can be used as a clock for the TPM timer. According to page...
  29. Replies
    2
    Views
    100

    You're (probably) not including the correct...

    You're (probably) not including the correct headers. You need to include Arduino.h or wiring.h to get CORE_TEENSY. Arduino does this automatically for all .ino and .pde files. But if you create...
  30. Replies
    5
    Views
    677

    Pin 12 is only used by the videodisplay example. ...

    Pin 12 is only used by the videodisplay example. It's not used internally by the library, so you can use all the SPI pins.

    OctoWS2811 even has a VideoSDcard example which has been used on Teensy...
  31. Ah, looking at the code again (it's been quite a...

    Ah, looking at the code again (it's been quite a while since I wrote the PDM input code), it probably will not play nice with I2S output. To get the signal out, use Teensy 3.6's built in 12 bit DAC.
  32. Have you tested your UDA1334, like with the...

    Have you tested your UDA1334, like with the synth-only examples like Synth > Guitar?
  33. Replies
    14
    Views
    2,093

    Sticky: This is a known bug with OpenJDK used by Arduino...

    This is a known bug with OpenJDK used by Arduino 1.8.11 and 1.8.12. It has nothing to do with Teensyduino. Those versions of Arduino (without Teensyduino) will crash the same way. More info here:...
  34. Replies
    21
    Views
    1,495

    Maybe you're using an old version of Teensyduino?...

    Maybe you're using an old version of Teensyduino? To check, in Arduino click Help > About (or Arduino > About if using Macintosh).

    Versions older than 1.50 have a known bug affecting soft reboot....
  35. In Arduino, click File > Preferences, and turn on...

    In Arduino, click File > Preferences, and turn on verbose output while compiling. Then Arduino will show you the exact commands it is using to run the compiler. You'll see -D__IMXRT1062__ is one of...
  36. DMM continuously sends a test current through...

    DMM continuously sends a test current through whatever you're measuring, and then looks for the voltage to be below some threshold. Exactly what current and voltage vary quite a lot depending on the...
  37. Replies
    10
    Views
    136

    Often the "easy" solution is to just edit the...

    Often the "easy" solution is to just edit the serial code to make the receive buffer much larger. Exactly which file to edit depends on which Teensy model you're using.
  38. Replies
    10
    Views
    136

    However, the problem you're seeing is very likely...

    However, the problem you're seeing is very likely an issue with overflowing the receive buffer. Focusing your attention on the transmitter timing is probably just a distraction.

    But first, you...
  39. Replies
    10
    Views
    136

    I'm pretty sure you're asking the wrong question,...

    I'm pretty sure you're asking the wrong question, but I'll try to answer anyway.



    This is what Serial1.flush() does. It waits until everything has been transmitted.

    You can also use...
  40. Replies
    13
    Views
    266

    The "debug" menu item causes gcc to be run with...

    The "debug" menu item causes gcc to be run with "-Og", which gcc's documentation describes as "-Og enables all -O1 optimization flags except for those that may interfere with debugging". It does...
  41. Replies
    14
    Views
    300

    Or still learning how to ask strangers on the...

    Or still learning how to ask strangers on the internet for tech help.

    Seriously though, you can get much better help if you give us context to understand what you're trying to accomplish. A...
  42. You might have an easier path to create a custom...

    You might have an easier path to create a custom audio processing object within the library, rather than go to the trouble of using the queues to transfer streaming data to your program. To do this,...
  43. Replies
    13
    Views
    266

    LTO means Link Time Optimization. Normally...

    LTO means Link Time Optimization.

    Normally each file is complied to "relative" machine code, meaning placeholders are left for the addresses of functions and variables from other files. Then the...
  44. Sounds like the Teensy is working. Please try...

    Sounds like the Teensy is working.

    Please try a different USB cable. Even if the cable works on Teensy 3, it maybe a case of a marginal cable that works at 12 Mbit speed but doesn't work with 480...
  45. Very strange problem. Maybe try the 15 second...

    Very strange problem. Maybe try the 15 second restore. Hold the button for approx 15 seconds. Release when you see the red LED flash.

    Teensy 4.0 will do a complete wipe of the flash chip and...
  46. What version is Teensy Loader? Click Teensy >...

    What version is Teensy Loader? Click Teensy > About to check.
  47. No, not really. If you look at the schematic,...

    No, not really. If you look at the schematic, Program doesn't connect to the main chip at all. It only connects to the MKL02 chip. If Program is stuck low, something had gone wrong with the MKL02...
  48. Replies
    14
    Views
    300

    Yes, digitalWriteFast() can easily toggle pins...

    Yes, digitalWriteFast() can easily toggle pins that fast.

    But you will probably need to disable interrupts and maybe write some tricky code to get the timing right.
  49. Replies
    9
    Views
    327

    The early 1052 betas used the small 10mm size...

    The early 1052 betas used the small 10mm size chip. The PCB was bigger only because I had not yet found a way to route so many wires in the normal Teensy form factor. All that extra PCB real estate...
  50. Does pin 17 still work? Those 2 are routed close...

    Does pin 17 still work? Those 2 are routed close to each other and GND (17 is closer) on the PCB.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4