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

Search:

Type: Posts; User: recri

Search: Search took 0.00 seconds.

  1. They could be used to generate IQ for an SDR...

    They could be used to generate IQ for an SDR transmitter, but most SDR applications have gone for the extra 4 bits with the AudioAdapter.
  2. Replies
    29
    Views
    564

    I have been a long time fan of the Dontronics...

    I have been a long time fan of the Dontronics SimmStick system. You mount your microprocessor and run all the pins out on a parallel bus to a series of SIMM sockets. Then you build extension boards...
  3. Replies
    26
    Views
    317

    Ah, normally the note goes on when the switch is...

    Ah, normally the note goes on when the switch is pressed and goes off when the switch is released, like a piano key. And that's what people have explained how to do and that's what you've coded.
    ...
  4. Replies
    4,318
    Views
    459,895

    You could use one of...

    You could use one of https://www.adafruit.com/product/2045, as a frequency generator. It's a $7.95 breakout for an i2c programmable oscillator, with adafruit library.
  5. Replies
    12
    Views
    681

    14962 14964 14963

    14962
    14964
    14963
  6. I didn't see any code that would be a problem. ...

    I didn't see any code that would be a problem. You should compile it and try it out.

    -- rec --
  7. Replies
    19
    Views
    1,285

    Touching a piece of metal directly connected to a...

    Touching a piece of metal directly connected to a touch sensing pin works fine, until you discharge a bolt of static electricity into the pin, which is why capacitive touch sensors aren't made that...
  8. Replies
    2
    Views
    277

    Thank you, that works fine. -- rec --

    Thank you, that works fine.

    -- rec --
  9. Replies
    2
    Views
    277

    AudioProcessorUsage()???

    Are there any known problems with AudioProcessorUsage()?

    This program:

    /* -*- mode: c++; tab-width: 8 -*- */
    #include <Audio.h>
    #include <Wire.h>
    #include <SPI.h>
    #include <SD.h>
    #include...
  10. Replies
    11
    Views
    768

    Oh, some good points in that code. If you wanted...

    Oh, some good points in that code. If you wanted to compile for two different USB device interfaces, you couldn't use the namespaces like I did, because you need to compile and link with the USB...
  11. Replies
    11
    Views
    768

    So as it is, you have rtty.ino and cw.ino, each...

    So as it is, you have rtty.ino and cw.ino, each with bunches of functions and data defined, and numerous potential conflicts of naming.

    I think you can wrap your existing programs each inside...
  12. Replies
    2
    Views
    593

    A frustrating puzzle. The following code...

    A frustrating puzzle.

    The following code works. It doesn't use the periodic measurement mode, but it accomplishes the same effect in the same number of instructions.

    -- rec --


    void...
  13. Thread: Arduino Events

    by recri
    Replies
    118
    Views
    40,542

    You can call it Dispatch.

    You can call it Dispatch.
  14. Replies
    0
    Views
    822

    Continuous Touch Sensing

    The original Teensy 3's implemented a background continuous touch sensing mode in hardware, but the Teensy LC and Teensy 3.6 don't. I suspect that it can be done with a DMA program: transfer pad...
  15. When this came up in my audio processing class I...

    When this came up in my audio processing class I think the answer was that the corners of the envelope are always smoothed so there are no corners. Discontinuities in the rate of change make clicks....
  16. It's a technical quibble, but it may save you...

    It's a technical quibble, but it may save you some grief in the future, but what you see are many examples of Teensy as a USB _device_. The computer which uses the Teensy as a mouse or keyboard is a...
  17. Thread: Type C USB

    by recri
    Replies
    4
    Views
    4,378

    Yeah, I was checking the prices of USB-C...

    Yeah, I was checking the prices of USB-C connectors at Digikey, the one's in stock are $4.69 a piece at the moment, and there are 3000 in stock. In comparison a micro-B connector is $0.76 a piece...
  18. Thread: Type C USB

    by recri
    Replies
    4
    Views
    4,378

    Type C USB

    I've been musing over the Type C USB connector on my Chromebook. I watched a 40 minute video at Cypress this morning, http://www.cypress.com/?rID=111101, and I've downloaded the USB Type C documents...
  19. Replies
    10
    Views
    3,660

    An audio sink device has to give the host rate...

    An audio sink device has to give the host rate feedback on a separate endpoint so the host can adjust the number of samples per buffer up or down. I believe it sends one fixed point fraction of...
  20. Replies
    10
    Views
    3,660

    http://forum.pjrc.com/threads/23942-Using-Serial-a...

    http://forum.pjrc.com/threads/23942-Using-Serial-and-MIDI-USB-types-at-the-same-time?p=33405&viewfull=1#post33405 discusses this in terms of a Serial+MIDI composite device. The hidden complication...
  21. Replies
    182
    Views
    81,941

    I am a bit late to the party, but let me say this...

    I am a bit late to the party, but let me say this will work for my applications.

    It should be fine for most audio applications just as it is. And thanks for figuring out that the I2S/PLL only...
  22. Replies
    6
    Views
    8,882

    I think you want to give 5V to Vin or Vusb. ...

    I think you want to give 5V to Vin or Vusb.

    Consulting the schematic, http://www.pjrc.com/teensy/schematic.html, the USB pin 5 connects to the Vusb pin, goes through a 500 mA fuse, goes through...
  23. Replies
    0
    Views
    1,555

    Teensy 3.0 FreqCounter

    Hi all --

    I was looking at implementing a frequency counter on the Teensy 3.0 using the general scheme of the Arduino FreqCounter library. So we look for a timer that can count incoming pulses,...
  24. It's getting rounded even when you give it an...

    It's getting rounded even when you give it an integer number of milliseconds or microseconds. What you get is integer numbers of whatever clocks the processor has to count, with whatever jitter or...
  25. I'd say implement both interfaces: ...

    I'd say implement both interfaces:

    timer.begin(cb0, 1); // milliseconds
    timer.beginMicroseconds(cb0, 1000); // microseconds

    This matches the convention on delay() and extends obviously to...
  26. Replies
    19
    Views
    10,935

    My problems were with a freshly upgraded Ubuntu...

    My problems were with a freshly upgraded Ubuntu 13.04, and with the Ubuntu 12.10 that it replaced.

    No fix required for me, I'll just use my phone as a hotspot.

    I updated all sources from the...
  27. Replies
    19
    Views
    10,935

    I had fits getting firmata working today, using...

    I had fits getting firmata working today, using Ubuntu and the Teensy 3.0. Fixing the Boards.h definitions was the easy part, none of the firmata_test variants would work.

    I believe that the...
  28. Thread: Teensy 3.0 Specs

    by recri
    Replies
    10
    Views
    8,178

    One missing document is the actual data sheet for...

    One missing document is the actual data sheet for the K20 family:

    http://cache.freescale.com/files/32bit/doc/data_sheet/K20P64M50SF0.pdf

    This sets out the power and frequency limits for this...
  29. Thread: Rotary Encoder?

    by recri
    Replies
    2
    Views
    3,694

    The problem is that the library needs to be...

    The problem is that the library needs to be rewritten for the Teensy 3.0, the list of boards supported is on the web page you linked.

    The FlexTimer module (FTM) is described in chapter 35 of the...
  30. Replies
    18
    Views
    12,707

    You can find all the magic register names and...

    You can find all the magic register names and numbers in the K20 Sub-Family Reference Manual,

    http://cache.freescale.com/files/32bit/doc/ref_manual/K20P48M50SF0RM.pdf

    It's a 1200 page pdf so...
Results 1 to 30 of 30