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.00 seconds.

  1. Replies
    115
    Views
    30,601

    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...
  2. Replies
    115
    Views
    30,601

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

    Media Transfer Protocol 1.1 spec:
    Opcode ----- Operation --------- Name Explanation
    0x1019 ----- MoveObject ------- Rename a file or directory
  3. Replies
    115
    Views
    30,601

    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.
  4. Replies
    115
    Views
    30,601

    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...
  5. Replies
    115
    Views
    30,601

    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
    ...
  6. Replies
    115
    Views
    30,601

    @ 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
  7. Replies
    115
    Views
    30,601

    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:...
  8. Replies
    115
    Views
    30,601

    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...
  9. Replies
    115
    Views
    30,601

    @ 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 ...
  10. Replies
    115
    Views
    30,601

    @ 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 ...
  11. Replies
    115
    Views
    30,601

    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. ;)
  12. @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.
  13. Replies
    11
    Views
    211

    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?.
  14. Replies
    11
    Views
    211

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

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

    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.
  16. 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...
  17. 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...
  18. 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...
  19. 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 -...
  20. Replies
    30
    Views
    2,143

    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]...
  21. @ 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...
  22. 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...
  23. Replies
    7
    Views
    158

    ;) 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
    ...
  24. Replies
    7
    Views
    158

    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.
  25. Replies
    26
    Views
    1,030

    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
  26. Replies
    6
    Views
    187

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

    Click me :D --> SPI Data in/out naming clarity
  27. 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...
  28. Replies
    1
    Views
    149

    USB Micro B 18170

    USB Micro B
    18170
  29. Replies
    62
    Views
    5,646

    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;)
  30. 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...
  31. Replies
    3
    Views
    126

    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)
    ...
  32. Replies
    3
    Views
    126

    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
  33. Replies
    3
    Views
    130

    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...
  34. 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)
  35. Replies
    14
    Views
    1,001

    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
  36. Replies
    2
    Views
    204

    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...
  37. Replies
    2
    Views
    204

    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...
  38. Replies
    161
    Views
    12,874

    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...
  39. Replies
    11
    Views
    841

    Another vote for DipTrace, very intuitive and...

    Another vote for DipTrace, very intuitive and easy learning curve.
  40. 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,...
  41. Replies
    24
    Views
    974

    See if this helps:...

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

    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?
    //...
  43. Replies
    13
    Views
    681

    Free ram ;) //...

    Free ram ;)

    // ***********************************************************************************************************
    // * F R E E R A M
    // * Function from the sdFat library...
  44. 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...
  45. WavFilePlayerUSB NOTE: This player needs wav...

    WavFilePlayerUSB
    NOTE: This player needs wav file with long name on SD Card: (SDTEST1 test long name.wav)


    #define USE_SdFat_ // uncomment for SdFat.h, comment for SD.h lib.
    // NOTE:...
  46. Teensy Loader 1.45v ~ Arduino 1.8.8v. Modified...

    Teensy Loader 1.45v ~ Arduino 1.8.8v.
    Modified 4 files in Audio library that plays nicely with long filenames and Arduino SdFat library. :)
  47. Interesting, try this see what happens. //...

    Interesting, try this see what happens.

    // +++++++++++++++++++++ LED variables +++++++++++++++++++++ //
    const byte RED_PIN = 21;
    const byte GRN_PIN = 22;
    const byte BLU_PIN = 23;

    int res =...
  48. Replies
    11
    Views
    593

    Check this Thread: teensy 3.1 SD/SPI clock rates...

    Check this Thread: teensy 3.1 SD/SPI clock rates 'n such

    POST #8
  49. Replies
    11
    Views
    593

    On MS WIN 10 - zip Arduino and Teensyduino...

    On MS WIN 10 - zip Arduino and Teensyduino installation - in C:\Users\( >User name< )\Desktop\arduino-1.8.6\hardware\teensy\avr\libraries\SD\SD_t3.h, look for #define SD_SPI_SPEED ...
  50. Replies
    2
    Views
    264

    Try Media Transfer Protocol (MTP)...

    Try Media Transfer Protocol (MTP) https://forum.pjrc.com/threads/43050-MTP-Responder-Contribution
Results 1 to 50 of 255
Page 1 of 6 1 2 3 4