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
    2
    Views
    78

    Modified blink example: Use PIN 13 & PIN 12. ...

    Modified blink example:
    Use PIN 13 & PIN 12.


    /* Blink without Delay

    Turns on and off a light emitting diode(LED) connected to a digital
    pin, without using the delay() function. This...
  2. Replies
    5
    Views
    134

    @CP406 Use SdFat-beta...

    @CP406

    Use SdFat-beta library, 255 character limit.
  3. Replies
    9
    Views
    503

    My best guess:rolleyes: If it ain't broke don't...

    My best guess:rolleyes: If it ain't broke don't fix it.
    Because Teensy LC was not define it was basically using a AVR to ARM Teensy emulation, at least that's how I see it.
  4. Replies
    9
    Views
    503

    Well if you are not afraid of editing one file in...

    Well if you are not afraid of editing one file in SD library I got idea.

    Edit file: Sd2Card.cpp
    Location on MS WIN10: C:\Users\-- YOU --\ --- ...
  5. Replies
    9
    Views
    503

    @ rumar I cannot replicate the issue on my side ...

    @ rumar
    I cannot replicate the issue on my side :confused:

    Teensy LC
    Windows 10
    Arduino 1.8.10
    Teensy Loader 1.49

    Exemple code:
  6. Replies
    7
    Views
    1,193

    Hi I'm going to give your player a try soon, in...

    Hi
    I'm going to give your player a try soon, in case you are not aware of new Jarkko thread.
    link: Arduino Music Player on Teensy Audio Shield
  7. Replies
    3
    Views
    136

    TPS2113A Power Multiplexer Carrier with USB...

    TPS2113A Power Multiplexer Carrier with USB Micro-B Connector, Status: Active and Preferred
    or
    FPF1320 Power Multiplexer Carrier with USB Micro-B Connector, Status: Not Recommended for New Design.
  8. Replies
    187
    Views
    34,755

    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...
  9. Replies
    187
    Views
    34,755

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

    O0o!! why didnít I think of that :D
  10. Replies
    187
    Views
    34,755

    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
    ...
  11. Replies
    187
    Views
    34,755

    @ 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:
  12. Replies
    187
    Views
    34,755

    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"
    ...
  13. Replies
    187
    Views
    34,755

    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...
  14. Replies
    187
    Views
    34,755

    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...
  15. Replies
    187
    Views
    34,755

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

    Media Transfer Protocol 1.1 spec:
    Opcode ----- Operation --------- Name Explanation
    0x1019 ----- MoveObject ------- Rename a file or directory
  16. Replies
    187
    Views
    34,755

    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.
  17. Replies
    187
    Views
    34,755

    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...
  18. Replies
    187
    Views
    34,755

    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
    ...
  19. Replies
    187
    Views
    34,755

    @ 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
  20. Replies
    187
    Views
    34,755

    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:...
  21. Replies
    187
    Views
    34,755

    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...
  22. Replies
    187
    Views
    34,755

    @ 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 ...
  23. Replies
    187
    Views
    34,755

    @ 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 ...
  24. Replies
    187
    Views
    34,755

    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. ;)
  25. @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.
  26. Replies
    11
    Views
    368

    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?.
  27. Replies
    11
    Views
    368

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

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

    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.
  29. 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...
  30. 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...
  31. 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...
  32. 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 -...
  33. Replies
    36
    Views
    3,626

    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]...
  34. @ 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...
  35. 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...
  36. Replies
    7
    Views
    223

    ;) 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
    ...
  37. Replies
    7
    Views
    223

    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.
  38. Replies
    26
    Views
    1,649

    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
  39. Replies
    6
    Views
    288

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

    Click me :D --> SPI Data in/out naming clarity
  40. 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...
  41. Replies
    1
    Views
    189

    USB Micro B 18170

    USB Micro B
    18170
  42. Replies
    62
    Views
    6,966

    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;)
  43. 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...
  44. Replies
    3
    Views
    178

    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)
    ...
  45. Replies
    3
    Views
    178

    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
  46. Replies
    3
    Views
    196

    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...
  47. 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)
  48. Replies
    14
    Views
    1,633

    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
  49. Replies
    2
    Views
    254

    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...
  50. Replies
    2
    Views
    254

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