Search results

  1. M

    Powering Teensy 4.0 from step down converter

    Good to know. Thanks for your help!
  2. M

    Powering Teensy 4.0 from step down converter

    Ahhh - so I was thinking about voltage, when I should've been thinking about current. I've used leds without resisters in the past for quick tests and to save heating up a soldering iron, but I must've got lucky...lesson learned. Thanks jmarsh for pointing this out. With the loose ground wire...
  3. M

    Powering Teensy 4.0 from step down converter

    I'm making a midi instrument that uses a 12v power supply to power an array of COB LEDs. I am using pololu 5v,2-5a step down voltage regulator (d24v22f5) to provide a 5v power supply for my teensy 4.0, as well as some led drivers and multiplexers. I have cut the little link between vin and vusb...
  4. M

    Teensy 4.0 / 74HC595N shift register compatibility issues?

    Thanks for this explanation Paul. I've put delayNanoseconds (50) in my code and I assume that it is inserting a delay of about 60-76ns. It's certainly running very fast and smooth now... It's hard to imagine that small!
  5. M

    Teensy 4.0 / 74HC595N shift register compatibility issues?

    This works: delayNanoseconds(1); ...but so does this (!): delayNanoseconds(99999999999999999999999999999999999999999999999999999999999999999999999999999);
  6. M

    Teensy 4.0 / 74HC595N shift register compatibility issues?

    I've removed delayMicroseconds(1) and lowered CPU speed to 450MHz to see what happens. This has the same effect as the delay: the shift registers work again with no noticeable lowering of performance. I'm sticking with the delayMicroseconds(1) solution for now though. As I understand it, while...
  7. M

    Teensy 4.0 / 74HC595N shift register compatibility issues?

    That was it - After a bit of experimentation with delays like you suggested, I found that a one microsecond delay in the right place is enough to get everything functioning as it was, with no discernible latency. Such a simple solution, but I'd have struggled to find it by myself. Many thanks...
  8. M

    Teensy 4.0 / 74HC595N shift register compatibility issues?

    I was using this code with a teensy lc but had to swap it for a teensy 4.0 when I accidentally damaged it. Since then, the shift registers don't seem to shift. I have tried using a separate shift register and have tested the pins on the teensy. The teensy pins are responding as expected, but...
  9. M

    Teensy 4.1 SD card problems

    jmarsh - I think your diagnosis was correct. I've just run the following command trawled from an Ubuntu forum: sudo dd if=/dev/zero of=/dev/disk/by-id/{yourhdd, in my case, sdc1} bs=1MB count=1 which, from what I understand, has deleted the first 500mb of the disk, containing the...
  10. M

    Teensy 4.1 SD card problems

    That's handy to know, thanks! I'll look into this and report back...
  11. M

    Teensy 4.1 SD card problems

    Hi Mark. Thanks for the suggestion. Sadly, I've done that: I used these for the 4.1 - #define SDCARD_CS_PIN BUILTIN_SDCARD #define SDCARD_MOSI_PIN 11 // not actually used #define SDCARD_SCK_PIN 13 // not actually used and these - #define SDCARD_CS_PIN 10 #define SDCARD_MOSI_PIN...
  12. M

    Teensy 4.1 SD card problems

    I have been trying to access the SD card slot on a teensy 4.1 in order to follow the audio tutorial, so far, without success. When I load Part_1_03_playing_music, the monitor prints, "unable to access the SD card". I have had the same response trying to use the SD card slot on the audio shield...
Back
Top