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

Search:

Type: Posts; User: MarkzP

Search: Search took 0.00 seconds.

  1. I was just about to suggest ESP as well - lots of...

    I was just about to suggest ESP as well - lots of examples with good explanations, which helps in determining what are the critical design considerations (power supply, type of capacitors to use,...
  2. https://github.com/PaulStoffregen/USBHost_t36 ...

    https://github.com/PaulStoffregen/USBHost_t36

    I've been using this for quite some time with the Teesy 3.6, and more recently with the 4.0 with great success

    Marc
  3. Replies
    14
    Views
    1,223

    a good place to start would be with something...

    a good place to start would be with something like
    float angle = atan2f(val5, val6);
  4. Really impressive! Bonus point for using wood...

    Really impressive! Bonus point for using wood PLA, first time I hear about this. Très bien fait en plus!
    Would you mind sharing the Teensy code?

    Marc
  5. Replies
    49
    Views
    17,493

    I think it would make more sense for Paul & the...

    I think it would make more sense for Paul & the PJRC staff to focus their limited development resources into the core products, the Teensies (is it ok to pluralize them?)

    Given the relatively open...
  6. I just had to check for myself - indeed PROGMEM...

    I just had to check for myself - indeed PROGMEM doesn't do anything on the Teensy:
    #define PROGMEM, and pgm_read_byte() is simply doing a reference cast to make it compatible with Arduino: ...
  7. In the Adafruit article, they are using a PROGMEM...

    In the Adafruit article, they are using a PROGMEM array (const uint8_t PROGMEM gamma8[] = {...), therefore it must be referenced as such:

    strip.setPixelColor(pixelNumber,
    ...
  8. Replies
    15
    Views
    955

    Alright, I understand - I'm willing to help, but...

    Alright, I understand - I'm willing to help, but I would like to understand your goal with this project.

    The way I see it, you could have bought a commercial Retropie bundle, ready (or almost...
  9. Replies
    15
    Views
    955

    There are a couple of issues here, but your main...

    There are a couple of issues here, but your main problem is probably caused by bad centering of the X/Y analog axis - you need to ensure that the values are as close to 512 when the joystick is...
  10. Did you try invoking begin() with Wire2? Here's...

    Did you try invoking begin() with Wire2?
    Here's an example, taken from the Adafruit Github repo, modified to use pins 3&4 (Wire2) on a T3.6:



    #include <Wire.h>
    #include "Adafruit_MPRLS.h"
    ...
  11. Replies
    5
    Views
    736

    If I understand correctly, you want read sensors...

    If I understand correctly, you want read sensors connected to pins 37 (SCL1) & 38 (SDA1)?

    All you need to do is replace instances of "Wire" with "Wire1": (sample code shamelessly stolen from...
  12. Thanks Holger! Building a MicroDexed is on my...

    Thanks Holger!

    Building a MicroDexed is on my project list for this year. I will definitely pull sources from the Codeberg repo from now on.
    The work you did on porting these projects to the...
  13. https://github.com/dcoredump/MicroDexed

    https://github.com/dcoredump/MicroDexed
  14. Replies
    2
    Views
    275

    The correct way to do this is: int i = 2;...

    The correct way to do this is:


    int i = 2;
    Serial1.print("myVar:");
    Serial1.print(i);
    Serial1.print(";");


    Marc
  15. Replies
    11
    Views
    2,795

    I dug this out of a project that uses a single...

    I dug this out of a project that uses a single pot for menu navigation. Since this is on a Teensy LC there's no separate AGND, and the hot side of the 20k pot is connected to 3v3.
    It's pretty immune...
  16. Replies
    7
    Views
    1,313

    Since this looks like a typical signed/unsigned...

    Since this looks like a typical signed/unsigned overflow issue, I would recommend these two changes:

    -Make Desphasage an unsigned int like the other variables:
    static uint32_t Dephasage;...
  17. Replies
    5
    Views
    1,486

    According to the SGTL5000 datasheet, output...

    According to the SGTL5000 datasheet, output impedance is ~320ohm, therefore I don't think the chip would be damaged. You could always add a resistor between the line outs & the jack, but if I were...
  18. Replies
    11
    Views
    2,795

    I would recommend you stick to 3v3 instead of...

    I would recommend you stick to 3v3 instead of using an external reference; normally, the ripple should affect both the ADC inputs and VREF at the same time, cancelling each other nicely (in theory!)...
  19. Another way to mitigate issues with large input...

    Another way to mitigate issues with large input impedance is to read the same pin multiple times to a dummy variable, while keeping only the last value. This allows the s&h cap to charge up properly....
  20. Replies
    12
    Views
    5,091

    If you have access to a suitable signal...

    If you have access to a suitable signal generator, you can test the performance (or presence) of the aa filter by injecting a signal above the nyquist freq. The signal will appear as a folded image...
  21. Replies
    46
    Views
    13,900

    I noticed this problem too (newly updated Win10,...

    I noticed this problem too (newly updated Win10, LC, 3.2 & 3.5). Running teensy_reboot.exe manually seems to work ok - it reboots & reprogram the teensy with the latest build.
    I use another Win7...
  22. Are you connecting the BPW34 directly to an...

    Are you connecting the BPW34 directly to an analog pin? Unless you go with the S-6468 (which is a 5v device, btw), you would need a buffer op-amp with a very high input impedance (j-fet such as a...
  23. Replies
    2
    Views
    1,063

    Yes line level audio should be fine, that's what...

    Yes line level audio should be fine, that's what it's designed for. I had ground loop issues when feeding from a different laptop (not the one connected via USB) - a cheap line level isolator fixed...
  24. Could be related to this:...

    Could be related to this: http://http://www.taltech.com/support/entry/windows_2000_nt_serial_mice_and_missing_com_port

    Marc
  25. Thread: Gate

    by MarkzP
    Replies
    14
    Views
    4,594

    I have just uploaded my dynamics object here...

    I have just uploaded my dynamics object here https://github.com/MarkzP/AudioEffectDynamics
    It's a combination of gate/compressor/limiter that I modeled after a popular unit
    I'm certainly not done...
Results 1 to 25 of 25