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

Search:

Type: Posts; User: neurofun

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    131

    Your switch statement is being executed every...

    Your switch statement is being executed every iteration of the loop which means you are constantly un-patching patching the cord.
    The switch statement should only be executed once for every button...
  2. Replies
    235
    Views
    4,995

    Autocenter is now working for the internal font &...

    Autocenter is now working for the internal font & the RA8875 lib supplied fonts. Thanks.
  3. Replies
    235
    Views
    4,995

    void RA8875::setCursor(int16_t x, int16_t y, bool...

    void RA8875::setCursor(int16_t x, int16_t y, bool autocenter)
    autocenter does not work anymore. (tested with the internal font)
    Still works fine with the TD1.49 supplied lib.
  4. @tele_player I think being precise or pedantic...

    @tele_player
    I think being precise or pedantic as you say, is important to avoid confusion or misunderstandings, especially when dealing with technological stuff.
    Thanks for the clarification.
  5. Yes, like this. AudioSynthWaveform* waveform =...

    Yes, like this.
    AudioSynthWaveform* waveform = new AudioSynthWaveform[4];

    See following thread for a complete example: https://forum.pjrc.com/threads/58158-Accessing-Audio-Objects-from-an-Array
  6. Replies
    13
    Views
    198

    You could also use the c_str() StringObject...

    You could also use the c_str() StringObject Function.

    File dataFile = SD.open(filename.c_str(), FILE_WRITE);
  7. Replies
    6
    Views
    131

    Use connect() & disconnect() on existing audio...

    Use connect() & disconnect() on existing audio connection objects by adhering to the following:

    Instantiate all possible AudioConnections needed in the project(in the global scope, as usual)....
  8. Just for the sake of correctness. Your statement...

    Just for the sake of correctness.
    Your statement is only valid for T3.x.
    On the T4.0 the audio lib runs @ 44100Hz.
  9. Replies
    3
    Views
    87

    Not mine and not tested. ...

    Not mine and not tested.

    https://github.com/noisegate/kicadlib

    audio shield symbol in teensy3.lib
    audio shield footprint in teensy.pretty
  10. If you blindly copied the revD schematic without...

    If you blindly copied the revD schematic without checking the SGTL5000 datasheets, pretty sure you've got it wrong.

    Checked your schematic.pdf file.
    The connections of your I2S datalines need to...
  11. Replies
    7
    Views
    1,475

    NRPN & RPN are fully supported by the 3 midi...

    NRPN & RPN are fully supported by the 3 midi libs.
    Have a look at Examples/Teensy/USB_MIDI/TransmitEverything.ino
  12. Replies
    2
    Views
    118

    There's an error in the audioshield revD...

    There's an error in the audioshield revD schematic. You need to swap pin 7 & 8 on the T4 side.

    see: https://forum.pjrc.com/threads/58550-audio-shield-rev-C-and-rev-D-TX-and-RX-pins
  13. Replies
    23
    Views
    563

    Both /RESET and /HOLD need to be connected to...

    Both /RESET and /HOLD need to be connected to 3.3V.
  14. Replies
    22
    Views
    240

    Did you connect the 3 address lines to GND?

    Did you connect the 3 address lines to GND?
  15. tft.setFont(INT);or tft.setFont(INTFONT)...

    tft.setFont(INT);or
    tft.setFont(INTFONT) //sumotoy;depending on which lib you use.
  16. Replies
    45
    Views
    2,869

    @mjs513 beta3 with changes from post #25...

    @mjs513
    beta3 with changes from post #25
    running at the default 22MHz showing 284ms
    changed to 18MHz and now showing 275ms

    unmodified beta3
    @17MHz -> 246ms
    @18MHz -> 248ms
    @19MHz -> 256ms
  17. Replies
    45
    Views
    2,869

    Located the problem in SPI.cpp around line 1281...

    Located the problem in SPI.cpp around line 1281
    changed


    CCM_CBCMR = (CCM_CBCMR & ~(CCM_CBCMR_LPSPI_PODF_MASK | CCM_CBCMR_LPSPI_CLK_SEL_MASK)) |
    CCM_CBCMR_LPSPI_PODF(2) |...
  18. Replies
    45
    Views
    2,869

    It is indeed very strange. The display i'm using...

    It is indeed very strange. The display i'm using is the 4.3" from buydisplay.
    I even wonder if it has anything to do with SPI because in my main application I also use the SPI1 bus to read the...
  19. Replies
    45
    Views
    2,869

    Did some more tests and USB Type does have some...

    Did some more tests and USB Type does have some influence.
    With this new test I get opposite results

    #include <SPI.h>
    #include <RA8875.h>

    //teensy4 SPI0 RA8875
    #define TFT_CS 10...
  20. Replies
    45
    Views
    2,869

    The slowdown is clearly visible on the display....

    The slowdown is clearly visible on the display.
    Changing clockspeed.c does not resolve the slowdown.


    Yes, I'm sure about 2940ms. But that was yesterday.
    Today the times vary around 2300ms,...
  21. Replies
    45
    Views
    2,869

    T4 @ 600MHz With this example beta 3 is about...

    T4 @ 600MHz
    With this example beta 3 is about 10x slower than beta2. 2940ms vs 283ms.

    #include <SPI.h>
    #include <RA8875.h>

    //teensy4 SPI0 RA8875
    #define TFT_CS 10
    #define TFT_RST ...
  22. Replies
    45
    Views
    2,869

    T4 @ 600MHz using this RA8875 lib:...

    T4 @ 600MHz
    using this RA8875 lib: https://github.com/mjs513/RA8875 to draw 2 different types of screens.

    With TD1.49b2
    screen1 takes about 23ms to draw
    screen2 takes about 65ms to draw

    With...
  23. Replies
    19
    Views
    303

    Pcb looks good at first glance. DRC ok. ...

    Pcb looks good at first glance. DRC ok.

    correction: Kicad 5.1.5
  24. Replies
    13
    Views
    314

    That J8 comment is irrelevant in your case...

    That J8 comment is irrelevant in your case because it refers to a different display than the one you have.
  25. Replies
    19
    Views
    303

    @jonr Yes indeed, those points are connected...

    @jonr
    Yes indeed, those points are connected through pin6.

    Now if I move that ground plane via 1mil(0.0254mm) up, it then passes DRC.
    I suspect there might be some difference between Kicad...
  26. Replies
    19
    Views
    303

    There is a "show/hide board ratsnest" button in...

    There is a "show/hide board ratsnest" button in the left toolbar.
    The bottom left statusbar clearly shows "unrouted 1".
    Performing a Design Rule Check will also reveal unconnected items.

    18423...
  27. Replies
    44
    Views
    1,905

    I was slightly confused when the teensy didn't...

    I was slightly confused when the teensy didn't show up as a usb serial device and the Serial.print() still worked.
    It all makes sense now. Thanks for the clarification.
  28. Replies
    19
    Views
    303

    The culprit? 18418 Lower the clearance...

    The culprit?

    18418

    Lower the clearance value in the Copper Zone Properties.
    Nothing that can't be fixed with a piece of wire and some solder fumes.

    Don't know if it is intentional or not...
  29. Replies
    44
    Views
    1,905

    Follow up: USB Type: "MIDI" seems to act like...

    Follow up:
    USB Type: "MIDI" seems to act like "Serial + MIDI" since Serial.print() still shows up in serial monitor.
  30. Replies
    87
    Views
    1,138

    Just put the code for changing the oscillator...

    Just put the code for changing the oscillator waveform in loop(), just as you did for the filter frequency.
  31. Replies
    44
    Views
    1,905

    MacOS 10.13.6 USB Type: "MIDI" Works in both...

    MacOS 10.13.6

    USB Type: "MIDI"
    Works in both directions, IN/OUT.

    USB Type: "Serial + MIDI"
    Does not compile....
  32. Replies
    13
    Views
    257

    You can choose your ADC_REFERENCE to be...

    You can choose your ADC_REFERENCE to be REF_3V3(default), REF_1V2 or REF_EXT.


    Gain formula for inverting opamp is
    Gain = Rfeedback/Rin = Vout/Vin

    Gain Vin = 1.2V(Vout range)/10V(Vin range) =...
  33. Replies
    13
    Views
    257

    As Wibbing mentioned you need to use a rail to...

    As Wibbing mentioned you need to use a rail to rail opamp supplied with 3.3V otherwise you might damage your teensy.
    Since eurorack modules are usually powered by -12V, 12V, all inputs should be...
  34. Replies
    14
    Views
    206

    Are you sure about that? I was under...

    Are you sure about that?
    I was under impression(looking at the code but i might be wrong) that unity gain is handled as a special case in both the mixer and the amp, but that zero gain is only...
  35. Replies
    14
    Views
    206

    @daspuru In order to have an audio object with...

    @daspuru
    In order to have an audio object with an input to stop processing you need to stop the audiostream going to it's input.
    There are 2 ways to achieve this:

    use AudioConnection::disconnect...
  36. Replies
    6
    Views
    180

    Assuming the coolant tmp returned by the CAN bus...

    Assuming the coolant tmp returned by the CAN bus can be < 60deg or > 120deg but you want the stepper only to move between 60deg and 120deg and that the temp reading is linear.

    I took the liberty...
  37. Replies
    3
    Views
    146

    Thanks for the tip. Works like a charm.

    Thanks for the tip. Works like a charm.
  38. Replies
    9
    Views
    287

    I never thought about the need for "a couple of...

    I never thought about the need for "a couple of hundreds" of connections.

    I totally agree!
    Please post your findings, I'll be glad to help testing.
  39. Replies
    9
    Views
    287

    There is no need to modify connect() in...

    There is no need to modify connect() in Audiostream if you do the following:

    Instantiate all possible AudioConnections needed in the project(in the global scope, as usual). Multiple sources to one...
  40. Replies
    8
    Views
    223

    You need to explicitly set the text background...

    You need to explicitly set the text background color. If not, printing text will behave as you described(transparent background).



    tft.setTextColor(ILI9341_WHITE); //white text with transparent...
  41. Pretty sure the Rev D schematic is wrong. Pin 7 &...

    Pretty sure the Rev D schematic is wrong. Pin 7 & 8 should be swapped.
  42. Replies
    4,361
    Views
    496,838

    The SPI pin definitions in effect_delay_ext.cpp...

    The SPI pin definitions in effect_delay_ext.cpp don't matter when using a T4 since it has no alternate pins for SPI. Thus the pin numbers are hard coded as seen in the T4 portion of SPI.cpp.

    ...
  43. I did not try your code but if you want to use...

    I did not try your code but if you want to use the print statement to send floats you need to be aware that by default it will only send 2 digits after the decimal point.
    If you want more decimal...
  44. Replies
    4,361
    Views
    496,838

    Because the SPI0 clock signal (SCK) for the T40...

    Because the SPI0 clock signal (SCK) for the T40 is on pin13 and for the T36 it is on pin14. And that signal is needed to access the external memory chip.
  45. Replies
    26
    Views
    986

    @DD4WH, you're welcome. Glad those pictures...

    @DD4WH, you're welcome. Glad those pictures helped you push your limits.
  46. Physical contact does not mean electrical...

    Physical contact does not mean electrical contact. There might be some glue residue from the paper tape at the extremities of the resistor legs.
  47. @rusty113 I could be wrong but looking at your...

    @rusty113
    I could be wrong but looking at your first picture it seems your didn't solder the wires to the resistors. If so, how do you expect it to work?
  48. Replies
    11
    Views
    201

    oops, misunderstood the question. correction:...

    oops, misunderstood the question.

    correction:

    // Button Toggle In Code

    #include <Bounce.h>

    const int channel = 1;
    bool toggleState = false;
  49. Replies
    11
    Views
    201

    What about this? // Button Toggle In Code ...

    What about this?

    // Button Toggle In Code

    #include <Bounce.h>

    const int channel = 1;

    Bounce button0 = Bounce(0, 10);
  50. @DD4WH Antratek has revD audio shields in stock....

    @DD4WH
    Antratek has revD audio shields in stock. They ship from the Netherlands if I'm not mistaken.
    https://www.antratek.com/teensy4-audio-board
Results 1 to 50 of 187
Page 1 of 4 1 2 3 4