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

Search:

Type: Posts; User: Chris O.

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    173
    Views
    31,211

    Arduino-1.8.10 Teensyduino 1.49 So I've been...

    Arduino-1.8.10
    Teensyduino 1.49
    So I've been playing around some more with Native Serial support (COMx port), can anyone test this:

    For Teensy 4.0 ADD or EDIT ---\cores\teensy4 usb_desc.h, for...
  2. Replies
    173
    Views
    31,211

    O0o!! why didnít I think of that :D

    O0o!! why didnít I think of that :D
  3. Replies
    173
    Views
    31,211

    Perhaps we should do something like this for...

    Perhaps we should do something like this for detecting the library version ?

    #if defined(SdFat_h)
    char *SDFAT_ver = SD_FAT_VERSION;
    if (!strcmp("2.0.0", SDFAT_ver)) { // ver 2.0.0
    ...
  4. Replies
    173
    Views
    31,211

    @ WMXZ Can I send you a beer money or donation...

    @ WMXZ
    Can I send you a beer money or donation of some kind, renaming files works like a charm:cool:
  5. Replies
    173
    Views
    31,211

    I only installed SdFat beta ver 2.0.0 library and...

    I only installed SdFat beta ver 2.0.0 library and maybe I'm cheating but this is all I did in MTP_config.h

    #if USE_SDFAT_BETA == 1
    //#include "SdFat-beta.h"
    #include "SdFat.h"
    ...
  6. Replies
    173
    Views
    31,211

    I am using the SDIO (4 bit) Teensy 4.0 bottom...

    I am using the SDIO (4 bit) Teensy 4.0 bottom pads for SD card, external micro SD card should work also but slower (1 bit SPI).
    And yes you should see your device, here's a picture on Windows 10...
  7. Replies
    173
    Views
    31,211

    I think you are correct, this is all thanks to...

    I think you are correct, this is all thanks to >Wikipedia error<. Since now that I downloaded the specification for Media transport protocol v1.1 I don't see a way of rename a file with that Opcode...
  8. Replies
    173
    Views
    31,211

    Media Transfer Protocol 1.1 spec: Opcode -----...

    Media Transfer Protocol 1.1 spec:
    Opcode ----- Operation --------- Name Explanation
    0x1019 ----- MoveObject ------- Rename a file or directory
  9. Replies
    173
    Views
    31,211

    I'm curious how hard would it be to add the...

    I'm curious how hard would it be to add the renaming file functionality in the MTP library?
    Now we can copy files from MicroSD <--> PC and delete files.
  10. Replies
    173
    Views
    31,211

    WMXZ I just noticed your other thread Weird...

    WMXZ
    I just noticed your other thread Weird behavior of SerialMonitor and I am running into the same issues.


    Also cannot upload code without button press.


    About 2.5 second on my PC if I...
  11. Replies
    173
    Views
    31,211

    Teensy 4.0 MTP + Native Serial port :) EDIT:...

    Teensy 4.0 MTP + Native Serial port :)
    EDIT:
    Well I speak too soon the Serial port seems laggy :confused:

    MS WIN10
    Arduino-1.8.10
    Teensy Loader 1.49
    ...
  12. Replies
    173
    Views
    31,211

    @ WMXZ I got the Teeny4 MTP and Native Serial...

    @ WMXZ

    I got the Teeny4 MTP and Native Serial port running just needs more testing and cleanup
  13. Replies
    173
    Views
    31,211

    Oh yes I forgot to mention the above code belongs...

    Oh yes I forgot to mention the above code belongs to ---\hardware\teensy\avr\cores\teensy3 usb_desc.h
    and there is a typo ENDPOINT_TRANSIMIT_ONLY replace with ENDPOINT_TRANSMIT_ONLY
    NOTE:...
  14. Replies
    173
    Views
    31,211

    Hey I'm working on this right now, not sure if...

    Hey I'm working on this right now, not sure if this is all correct yet :eek:


    #elif defined(USB_MTPDISK)
    #define VENDOR_ID 0x16C0
    #define PRODUCT_ID 0x04D1
    #define...
  15. Replies
    173
    Views
    31,211

    @ WMXZ Any reasons for this #elif...

    @ WMXZ
    Any reasons for this #elif defined(USB_MTPDISK_)<--underscore still in copy-of-core/usb_desc.h


    #elif defined(USB_MTPDISK)
    #define VENDOR_ID 0x16C0
    #define PRODUCT_ID ...
  16. Replies
    173
    Views
    31,211

    @ chipaudette Arduino-1.8.10 Teensyduino...

    @ chipaudette


    Arduino-1.8.10
    Teensyduino 1.49
    Teensy 3.6 [all Teensy 3.x series]

    Unfortunately it doesn't look good, in the boards.txt file [ MS WIN10 ...
  17. Replies
    173
    Views
    31,211

    WOW !!! Thank you WMXZ !!, now we need...

    WOW !!! Thank you WMXZ !!, now we need Teensyduino 1.50 beta with the "MTP Disk (Experimental)" in the Tools. ;)
  18. @joey120373 If you are using the framebuffer...

    @joey120373
    If you are using the framebuffer and updating the whole screen perhaps it's because of the SPI bus speed limit:confused:
    LINK: Teensy 3.2 - SPI Clock over 30 MHz.
  19. Replies
    11
    Views
    223

    The default priority is 128 if I remember...

    The default priority is 128 if I remember correctly, and I think you have to set the priority for the whole PORTx range.
    Link: Interrupt priority for attachInterrupt?.
  20. Replies
    11
    Views
    223

    delayMicroseconds(10); delay in an Interrupt...

    delayMicroseconds(10); delay in an Interrupt routine Column_One_Int() :confused:
  21. Replies
    6
    Views
    157

    I had great success with Texas Instrumentsís...

    I had great success with Texas Instrumentsís TPS2113A autoswitching power multiplexer.
    Pololu - TPS2113A Power Multiplexer Carrier with USB Micro-B Connector.
  22. TEENSY 4.0 - PMF Player - SdFat version 2.0.0...

    TEENSY 4.0 - PMF Player - SdFat version 2.0.0 BETA ONLY - 512k array buffer example. ;)

    //============================================================================
    // PMF Player SdFat v2 BETA...
  23. Yeah I was afraid of this. I am actually...

    Yeah I was afraid of this.

    I am actually loading a big music data file in 512k buffer now, plays beautiful if the file is not too large for the destination array buffer.
    Funny part is it will...
  24. One more noob question: are you loading the music...

    One more noob question: are you loading the music data from the SD card?
    The reason I'm asking is because I'm not sure if I can split the song data file and play it from let's say 126kb array...
  25. Hi Jarkko. If it's not too much to ask can you...

    Hi Jarkko.
    If it's not too much to ask can you explain the first few bytes of the data structure created with PMF converter.
    I'm not sure about the data marked in the red:

    0x70 0x6d 0x66 0x78 -...
  26. Replies
    30
    Views
    2,209

    Here is what I have you can probably modify it to...

    Here is what I have you can probably modify it to suit your needs.


    #include <SdFat.h> // SdFat V "2.0.0"

    SdFat SD;
    File m_pSource;

    const int DIR_max = 250; // [# of Directory - max]...
  27. @ MichaelMeissner and JarkkoL. Thanks both of...

    @ MichaelMeissner and JarkkoL.
    Thanks both of you I could not reply sooner because of power outages after snow storm ĎEzekielí in the Poconos USA.

    @ MichaelMeissner
    Yeah I'm not sure what my...
  28. Hi Jarkko I just want to let you know I've been...

    Hi Jarkko
    I just want to let you know I've been playing with your pmf player for two days and I am extremely impressed.
    Only issue I'm having right now is that I cannot get ILI9341 TFT display and...
  29. Replies
    7
    Views
    164

    ;) From LINK: STRANGE GPIO speed perfomance with...

    ;) From LINK: STRANGE GPIO speed perfomance with digitalWriteFast() (ring oscillator example)

    void setup() {
    pinMode(9, OUTPUT);
    CORE_PIN9_CONFIG = PORT_PCR_MUX(1); // no slew rate limit
    ...
  30. Replies
    7
    Views
    164

    Try digitalWriteFast. There is of course other...

    Try digitalWriteFast.
    There is of course other caveats such as loop() overhead and pin slew rate limiting, which is on by default on teensy 3.x.
  31. Replies
    26
    Views
    1,093

    Behold my poor man's Teensy 4.0 microSD slot. ;)...

    Behold my poor man's Teensy 4.0 microSD slot. ;)

    Digi-Key Part Number 609-5773-1-ND
    18274
  32. Replies
    6
    Views
    193

    Click me :D --> SPI Data in/out naming clarity...

    Click me :D --> SPI Data in/out naming clarity
  33. I am not sure about ratiometric but you can use...

    I am not sure about ratiometric but you can use these on Teensy 3.x

    void setup() {
    // put your setup code here, to run once:
    analogReference(EXTERNAL); // set analog reference to...
  34. Replies
    1
    Views
    153

    USB Micro B 18170

    USB Micro B
    18170
  35. Replies
    62
    Views
    5,706

    Am I reading this correctly are we breaking 1...

    Am I reading this correctly are we breaking 1 billion cycles per second (1,000,000,000) speed barrier on MCU... WOW;)
  36. Connect: T_D0 to MISO pin 12 T_DIN to MOSI PIN...

    Connect:
    T_D0 to MISO pin 12
    T_DIN to MOSI PIN 7 ... NOTE: this is alternate MOSI pin --- SPI.setMOSI(7); or use pin 11, It is by default mapped to (pin11)
    T_CLK to SCK pin 14 ... NOTE: this is...
  37. Replies
    3
    Views
    127

    You can see the F_BUS defines for teensy 3.x in...

    You can see the F_BUS defines for teensy 3.x in kinetis.h file here: on MS WIN10 - Drive C:\Users\***\**\arduino-1.8.9\hardware\teensy\avr\cores\teensy3\kinetis.h


    #if (F_CPU == 256000000)
    ...
  38. Replies
    3
    Views
    127

    This forum thread has nice explanation for Teensy...

    This forum thread has nice explanation for Teensy 3.x:
    FreqMeasure.read on Teensy 3.1 @ 96MHz
  39. Replies
    3
    Views
    132

    I also had this issue before :eek: From the...

    I also had this issue before :eek:

    From the Arduino Software (IDE) toolbar menu: File > Examples > XPT2046_Touchscreen > ILI9341Test
    in setup()
    tft.setRotation(1); // Screen rotation 1~4...
  40. Sounds like you need SPI Master Slave Transfer...

    Sounds like you need SPI Master Slave Transfer library for Teensy 3.x.
    Forum thread: (Project: SPI_MSTransfer) (GitHub)
  41. Replies
    14
    Views
    1,046

    What about PT8211 Audio Kit for Teensy 3.x...

    What about PT8211 Audio Kit for Teensy 3.x digital to analog converter (DAC) chip :confused:. ---> PT8211 Audio Kit
  42. Replies
    2
    Views
    206

    Thanks Paul I didn't expect you to reply, I am...

    Thanks Paul I didn't expect you to reply, I am pretty sure that your hands are full.
    I'm hoping you were taking a break from all the office management shipping going on.
    Anyways this is excellent...
  43. Replies
    2
    Views
    206

    Teensy 4.0 - slow baud rate 600bps

    I don't want to bother anyone, but my teensy 4.0 isn't here yet :(.
    I'm aware there was a thread like this before for teensy 3.x here: Teensy-3-2-odd-results-with-Slow-Baud-rates-and-High-CPU-Speeds...
  44. Replies
    161
    Views
    12,969

    I can't wait to get my hands on Teensy 4.0, ...

    I can't wait to get my hands on Teensy 4.0, 600MHz 2048K Flash (64K recovery and EEPROM) and 1024K RAM (512K tightly coupled). :D
    Time has come for well deserved thank you to Paul, Robin and the...
  45. Replies
    11
    Views
    849

    Another vote for DipTrace, very intuitive and...

    Another vote for DipTrace, very intuitive and easy learning curve.
  46. Teensy Audio Library...

    Teensy Audio Library

    Supported Hardware:
    Audio Adaptor, for 16 bit stereo input and output.
    Dual Audio Adaptors for 16 bit quad channel input and output.
    S/PDIF optical digital audio output,...
  47. Replies
    24
    Views
    976

    See if this helps:...

    See if this helps: https://github.com/LAtimes2/InternalTemperature
    Documentation is: here
  48. Replies
    8
    Views
    648

    Perhaps this example code will steer you in the...

    Perhaps this example code will steer you in the right direction?

    /*
    TimeRTC.pde
    example code illustrating Time library with Real Time Clock.

    */

    // deprecated API or MS WIN issue?
    //...
  49. Replies
    13
    Views
    687

    Free ram ;) //...

    Free ram ;)

    // ***********************************************************************************************************
    // * F R E E R A M
    // * Function from the sdFat library...
  50. I just posted solution for Bill Greiman SdFat...

    I just posted solution for Bill Greiman SdFat library on another thread here: https://forum.pjrc.com/threads/55180-long-file-names-and-play-audio-from-SD-card

    All you need to do is replace 4 files...
Results 1 to 50 of 261
Page 1 of 6 1 2 3 4