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

Search:

Type: Posts; User: neurofun

Page 1 of 5 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    312

    change...

    change
    sgtl5000_1.inputSelect(AUDIO_INPUT_MIC);to
    sgtl5000_1.inputSelect(AUDIO_INPUT_LINEIN);
  2. Without a pullup resistor the input pin is...

    Without a pullup resistor the input pin is connected to nothing(floating), its state is undefined and influenced by different factors. Simply put, the wire attached to the pin acts like an antenna.
    ...
  3. You definitively need pullup resistors on those...

    You definitively need pullup resistors on those pins!
  4. Replies
    15
    Views
    1,125

    MacOS 10.13.6, Arduino 1.8.12, TD1.51beta1 ...

    MacOS 10.13.6, Arduino 1.8.12, TD1.51beta1

    Tried both the touchscreen examples on T4 and indeed the T4 crashes after executing the TouchScreenUSB.press commands, so I suspect there might a...
  5. Replies
    42
    Views
    3,045

    Well I think that's your error. You don't need to...

    Well I think that's your error. You don't need to drop anything anywhere since the AudioSynthWavetable class is included in the teensyduino audio lib.
    So now you have 2 copies of the...
  6. teensy code: In setup() you need to add the...

    teensy code:
    In setup() you need to add the pinMode command to configure pin 13 as an output or the led will not work.
    In loop() change Serial.write to Serial.println(to send an ASCII...
  7. @llamero There is nothing wrong about your...

    @llamero
    There is nothing wrong about your setup, v6.3.4 of the Snooze lib seems to be broken.
    The author(Duff) knows about it and mentioned he would be working on it.
    see:...
  8. Replies
    59
    Views
    4,619

    Do not want to add to the confusion but did a get...

    Do not want to add to the confusion but did a get info on both files and there are some differences.
    file size
    creation date
    enable app nap option

    18930

    I consider for myself this problem...
  9. Replies
    59
    Views
    4,619

    I have no idea either. But I fixed the problem...

    I have no idea either.
    But I fixed the problem by copying Teensy.app 1.50 installed in Arduino 1.8.10 to Teensyduino Catalina 10.15 version.
  10. Replies
    59
    Views
    4,619

    iMac12,2 OS X 10.13.6 (17G10021) Catalina...

    iMac12,2 OS X 10.13.6 (17G10021)

    Catalina 10.15 version -> show package content -> double click Teensy.app
    result:
    18927
  11. Replies
    59
    Views
    4,619

    No errors in the console.

    No errors in the console.
  12. Replies
    59
    Views
    4,619

    No, the Teensy Loader window does not appear....

    No, the Teensy Loader window does not appear.
    There is no process "Teensy" visible in the Activity Monitor.
  13. Replies
    59
    Views
    4,619

    Previous post was referring to iMac12,2 OS X...

    Previous post was referring to iMac12,2 OS X 10.13.6 (17G10021)

    different system, different result:
    MacBookPro8,2 OS X 10.13.6 (16G29)
    The Catalina 10.15 version runs without crashing, also...
  14. Replies
    59
    Views
    4,619

    The Catalina 10.15 version runs without crashing,...

    The Catalina 10.15 version runs without crashing, also after a system reboot.
    I can compile but not upload.

    Opening Teensy Loader...
    Unable find Teensy Loader. (p) Is the Teensy Loader...
  15. Replies
    59
    Views
    4,619

    1.49 runs fine with arduino 1.8.10 as does 1.50....

    1.49 runs fine with arduino 1.8.10 as does 1.50.
    But cannot install 1.49 on arduino 1.8.11 which I think is normal since arduino 1.8.11 is only supported by td1.50.


    Plain 1.8.11 does not crash....
  16. Replies
    59
    Views
    4,619

    Same behaviour with 1.50-beta1.

    Same behaviour with 1.50-beta1.
  17. Replies
    59
    Views
    4,619

    I spoke too soon. After shutting down both macs...

    I spoke too soon. After shutting down both macs and have a good night sleep, today arduino crashes on startup on both systems.

    Process: Arduino [917]
    Path: ...
  18. Replies
    59
    Views
    4,619

    MacBookPro8,2 OS X 10.13.6 (16G29) iMac12,2 OS X...

    MacBookPro8,2 OS X 10.13.6 (16G29)
    iMac12,2 OS X 10.13.6 (17G10021)

    Arduino 1.8.11 & TD1.50 is running fine on both systems.
  19. Replies
    10
    Views
    311

    To recap the problems found so far with v6.3.4....

    To recap the problems found so far with v6.3.4.
    Tested with TLC, T3.2 & T3.6.

    The following does not work:
    -enabling the pullup resistors via SnoozeDigital.pinMode()
    -wake from digital pin...
  20. Replies
    10
    Views
    311

    It might actually be a better idea to download...

    It might actually be a better idea to download v6.3.3 of the Snooze lib and install it in the user library folder instead of downgrading TeensyDuino.

    Snooze lib v6.3.3 ->...
  21. Replies
    10
    Views
    311

    This was only meant to enable the pullup...

    This was only meant to enable the pullup resistors, not as a fix for the Snooze lib.


    See @defragster's previous post.
    You must completely remove your current TD1.49 install of the Snooze lib...
  22. Replies
    10
    Views
    311

    Tested the code and indeed it does not work. Upon...

    Tested the code and indeed it does not work. Upon further investigation I found 2 issues.

    First:
    The following does not activate the internal pullup resistors.

    digital.pinMode(21,...
  23. Replies
    10
    Views
    311

    The internal pullup resistors are enabled so you...

    The internal pullup resistors are enabled so you need to connect pin 21 or 22 to GND.
    Unplugging the wire will then create a rising edge.
  24. Replies
    26
    Views
    965

    Try this: while (!Serial && millis() < 2500);

    Try this:
    while (!Serial && millis() < 2500);
  25. Replies
    26
    Views
    965

    @theczar1987 A few few remarks concerning your...

    @theczar1987
    A few few remarks concerning your code:

    The queue is 128 words(samples) long, not 256!

    In your code the queue1.playBuffer() command is executed once per loop/sample. It should...
  26. Yes, see:...

    Yes, see: https://www.amphenol-icc.com/fpc-ffc-hfw8r1ste1lf.html
  27. I am afraid not! The part you linked is the...

    I am afraid not! The part you linked is the straight version and has a different footprint than the right angle version.
    see: https://www.amphenol-icc.com/fpc-ffc-hfw8s2stae1lf.html
    and click...
  28. LOOP_PHASE_LENGTH doesn't look right, subtracting...

    LOOP_PHASE_LENGTH doesn't look right, subtracting a negative number with unsigned integers doesn't make sense in this case.

    This seems to remove the artefact:
    ((uint32_t)2048 - 1) << (32 - 12),...
  29. Replies
    6
    Views
    382

    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...
  30. Replies
    275
    Views
    10,123

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

    Autocenter is now working for the internal font & the RA8875 lib supplied fonts. Thanks.
  31. Replies
    275
    Views
    10,123

    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.
  32. @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.
  33. 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
  34. Replies
    13
    Views
    544

    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);
  35. Replies
    6
    Views
    382

    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)....
  36. 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.
  37. Replies
    3
    Views
    307

    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
  38. 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...
  39. Replies
    7
    Views
    1,660

    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
  40. Replies
    2
    Views
    312

    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
  41. Replies
    23
    Views
    1,221

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

    Both /RESET and /HOLD need to be connected to 3.3V.
  42. Replies
    22
    Views
    547

    Did you connect the 3 address lines to GND?

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

    tft.setFont(INT);or
    tft.setFont(INTFONT) //sumotoy;depending on which lib you use.
  44. Replies
    45
    Views
    4,627

    @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
  45. Replies
    45
    Views
    4,627

    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) |...
  46. Replies
    45
    Views
    4,627

    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...
  47. Replies
    45
    Views
    4,627

    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...
  48. Replies
    45
    Views
    4,627

    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,...
  49. Replies
    45
    Views
    4,627

    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 ...
  50. Replies
    45
    Views
    4,627

    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...
Results 1 to 50 of 215
Page 1 of 5 1 2 3 4