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

Search:

Type: Posts; User: Davidelvig

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    284

    Thanks, I've just take another look. I did not...

    Thanks, I've just take another look. I did not see before how I could "Inspect" and the drill down in the explorer looking at contributions to flash.
    I see it now, and will figure out where the fat...
  2. Replies
    9
    Views
    284

    No luck yet with optimizing parameters at...

    No luck yet with optimizing parameters at compile/link time.
    I know I have a chunk of code in the Adafruit libraries:
    #include "Adafruit_ST7789.h"
    #include "Adafruit_ST77xx.h"
    These are meant to...
  3. Replies
    9
    Views
    284

    Well, dang! both of these: -D...

    Well, dang!

    both of these:
    -D TEENSY_OPT_SMALLEST_CODE
    -D TEENSY_OPT_SMALLEST_CODE_LTO
    cause a non-functional app.
    I cannot see entrance to the setup() function
    (i.e. Serial.print() does...
  4. Replies
    9
    Views
    284

    Oh my goodness, @thebigg ! -D...

    Oh my goodness, @thebigg !
    -D TEENSY_OPT_SMALLEST_CODE - drops it to 45%
    -D TEENSY_OPT_SMALLEST_CODE_LTO - drops it to 40%

    I'm going to see if this runs well.

    and thanks @blackketter, I'll...
  5. Replies
    9
    Views
    284

    Thanks, Paul. I'll have a look at the PlatformIO...

    Thanks, Paul. I'll have a look at the PlatformIO build flags.
    I would have to wean myself from printf's with floats... but I could define them out.


    I'm also wondering about two hefty libraries...
  6. Replies
    9
    Views
    284

    Optimizing for small Flash size

    I have a project using 58% of flash (on Teensy 3.2 architecture) and I need to get under 50% to try the easiest form of OTA updates.

    Can someone point me to strategies to whack unneeded code from...
  7. This is such great stuff! I'm going to see how...

    This is such great stuff! I'm going to see how it can apply in my case.

    I'm using Teensy 3.2 architecture on my board, and my toolchain is VSCode (Platformio) on Mac OS.
    The toolchain leverages...
  8. Big sound on the outside - Teensy on the inside!

    I'm starting to build an audience for a Teensy-based MIDI wind controller here.
    27449
    Thanks to the forum for lots of advice along the way!
  9. I've been using these sensors...

    I've been using these sensors for a MIDI wind controller breath sensor. It has an appropriate pressure range and has been reliable.
    Sourcing was problematic last year - competing with ventilator...
  10. Interestingly, I need a bit longer pause to...

    Interestingly, I need a bit longer pause to "resynch" the serial when sending to the ESP32. 1500uS works, though 1000uS did not reliably.

    Funny how the world looks like a better place now!
  11. And now also with similar code on a...

    And now also with similar code on a Teensy-->ESP32 setup.
    25241
    Thanks again!
  12. 25240That was it! Dang, I had it grounded in...

    25240That was it!
    Dang, I had it grounded in earlier iterations... when I must have had other code errors.

    Error free now.

    Thanks a bunch! My confidence and sanity are returning.
  13. Representative Sender side serial monitor...

    Representative Sender side serial monitor snippet:


    Representative Receiver side serial monitor snippet
  14. Picture of setup - each Teensy USB-connected to...

    Picture of setup - each Teensy USB-connected to its own MacBook running Teensyduino 1.5.3
    25239

    (Coin cell and Audio Shield are non-contributing extras, I hope)
  15. Update: This simplified code still works...

    Update:
    This simplified code still works flawlessly on a loop-back-connected single Teensy, and fails on cross-connected dueling Teensy's

    I can't figure out where the phantom / erroneous inbound...
  16. Well that's annoying - and perhaps encouraging. ...

    Well that's annoying - and perhaps encouraging. Two emotions at once!
    I'll keep looking - perhaps after I see if SPI Slave on ESP32 is easy.

    I can try "getting in synch" the first time on the...
  17. Add BLE MIDI and BLE Serial to Teensy Project

    I have a MIDI Wind controller that needs BLE MIDI out for playing music on a phone or PC synth,
    and BLE UART bidirectionally to a phone app for configuration.

    I've made this work with the...
  18. Interesting, Attaching an ESP32 as the second...

    Interesting,
    Attaching an ESP32 as the second device - same code, requires:
    - dropping the BYTES_PER_DELAY from 12 to 2 (so a delay every 2 sent bytes); and
    - increasing the INTER_BYTE_DELAY to...
  19. OK, Delay of 1ms (1000uS) works with a delay...

    OK,
    Delay of 1ms (1000uS) works with a delay every 12 bytes, but not every 15 bytes.
    Good throughput at nearby 11 Kbytes/second.
    Seems like a reasonable fix.
    After the two boards get "in synch",...
  20. Got it. I'll try a whole millisecond delay, and...

    Got it. I'll try a whole millisecond delay, and stretch out the number of bytes between such delays.
  21. Sounds like the issue. Thanks! I am indeed at...

    Sounds like the issue. Thanks!

    I am indeed at full speed here, and it won't be "in real life".. That is, I can go slower.

    You mention in the other post a "10 microSecond delay every 5000...
  22. Serial2 Murder - UART Communications between boards

    Now that I have your attention...

    I'm new to inter-board UART communication.
    I'm testing 2 Teensy 3.2's using Serial2 on each, and the attached code.

    Each works flawlessly, delivering...
  23. Teensyduino Serial Monitor vs VSCode and PlatformIO flashing - Fireworks!

    I think I've narrowed down a hard crash on my older (and now newer) MacBook Pro.

    I recall the old blue-screen-of-death days on a Windows PC.
    These are equivalent Mac crashes. Exceedingly rare in...
  24. Thanks, MarkT. 1) I see that...

    Thanks, MarkT.

    1) I see that control_sgtl5000.cpp uses Wire.h and Wire.begin
    and the included WireKinetis.h defines Wire1, Wire2... etc.

    Should I assume that I have to modify...
  25. Audio Board and alternative pin mappings - 2 Assumptions and a Question

    I have a few Teensy audio adaptors, and want to add their functionality to a custom Teensy 3.2-based board I've built.
    I need all of the touch pins on the Teensy for other puposes.
    So want to use...
  26. OK... trying to grok this... I'd like to...

    OK... trying to grok this...

    I'd like to Over-the-Air (OTA) update using BLE on a custom Teensy-3.2-designed board that has a Teensy Bootloader.
    The board also has an internal uSD card for...
  27. Replies
    29
    Views
    9,822

    @MatrixRat, are you saying that your MIO-10 from...

    @MatrixRat, are you saying that your MIO-10 from iConnectivity DOES communicate MIDI with your Teensy when it is compiled for SERIAL + MIDI?
    That was the fail point for me on my iConnectivity...
  28. Replies
    0
    Views
    595

    USB - wonderful! - treacherous!

    I'm leveraging the Teensy-to-PC USB connection for more varied functions, and hitting some snags.
    I've paid attention to this thread. I have what I hope are simple questions:

    How to handle...
  29. Thanks so much for explaining these options! I'm...

    Thanks so much for explaining these options!
    I'm using a solution like #1 for setting my device's USB-MIDI name.
    Now that I think of it, I wonder if it has the same timing limitations - that it...
  30. Thanks! Are these stored in flash? Is this...

    Thanks!
    Are these stored in flash?
    Is this modifiable at run-time?
    i.e. could I put a default in here, that after flashing, run a method to accept an input (from Serial, let's say) and set the...
  31. Unique Teensy Serial Number: using getTeensySerial() from TeensyID.h

    I'm using a Teensy 3.2-type board with a PJRC boot loader.

    Stefan Staub's Teensy ID library returns the following:

    From my Teensy 3.2-type board with PJRC boot loader
    USB Serialnumber:...
  32. Processing - exchanging serial data with a Teensy

    Iíve been introduced to the Processing toolset to make a Teensy flasher leveraging TyCommander command-line tool.

    Iíd like to expand the flashing tool to communicate with the running Teensy...
  33. Replies
    29
    Views
    9,822

    @bolau, did you figure this out? I posted a...

    @bolau, did you figure this out? I posted a recent thread in a related vein.
    I have found that neither my iConnectivity iConnectAudio4+ nor my Yamaha digital piano (DGX-660) recognize my Teensy 3.2...
  34. I found this thread after posting this one...

    I found this thread after posting this one
    @lokki, it looks like you've built a USB MIDI hub for MIDI devices using a Teensy 4.0 and a USB Hub... Is that correct?
  35. MIDI Hub (MIDI Host for multiple MIDI Devices)

    I'd like to build or buy a device to use between a MIDI Wind Controller I've developed on Teensy, and a common digital piano, such as this Yamaha DGX-660. This piano has a USB MIDI jack on the back...
  36. Replies
    966
    Views
    172,352

    I'm excited about the possibility of this MTP...

    I'm excited about the possibility of this MTP Responder.
    I see in as an (Experimental) USB option now.
    Is it likely that this will be usable simultaneously with other USB types ? I use USB MIDI.
  37. Replies
    0
    Views
    492

    uSD Card specs and source

    My Teensy 3.2-based product includes a uSD card for internal storage.
    I've been testing with SanDisk Pixtor from BestBuy and have seen no failures. My test cards happen to be 32GB.
    I'm looking...
  38. I see that on my Teensy 3.6 now. It look...

    I see that on my Teensy 3.6 now. It look rock-solid!
    That looks like this one that I was considering above
    Thanks!
  39. Ripping my uUSB off - suggestions for another part

    I have a Teensy 3.2-based board that's working well. I just ordered 110 boot loaders for the next batch.

    And I just managed to rip the uUSB socket off my board. It's happened twice now in...
  40. MIDI Synth for Windows - analogous to GarageBand on the Mac

    I've been using GarageBand on the Mac for testing of my Teensy 3.2-based MIDI wind controller.

    I'd like to do the same on Windows with the rough requirements:
    - receive and play MIDI messages...
  41. Replies
    4
    Views
    1,141

    That's very helpful! Thanks! I'll digest this. ...

    That's very helpful! Thanks!
    I'll digest this.

    I expected that the AdaFruit implementation through AT commands would have a fair amount of overhead. Thanks for quantifying it.

    I have the...
  42. Replies
    4
    Views
    1,141

    Thanks, Pieter! I'll check it out. I'm...

    Thanks, Pieter!
    I'll check it out.

    I'm queuing because I have several inputs and several outputs (including the USB in and out)
    The outputs have different latency (USB, Serial and Bluetooth) and...
  43. Replies
    4
    Views
    1,141

    MIDI Message Queue

    I'll be adding MIDI message queues to my MIDI wind controller.

    Any suggestions as to a useful, solid, fast queue library to use (such as this one that is one of several in Arduino libraries)?...
  44. Replies
    7
    Views
    1,584

    Is there someone who I could hire to construct a...

    Is there someone who I could hire to construct a Teensy-3.2-related field update process?
    I'd like to leverage the skills of someone who's done this before.
    The user will be a novice PC or Mac (or...
  45. Thanks! That looks just right !

    Thanks! That looks just right !
  46. Thanks, Paul! I had a quick look. The PJRC...

    Thanks, Paul!
    I had a quick look. The PJRC Unique Serial Number looks out of my wheelhouse.
    As for the 16-byte NXP number... that looks useful and almost accessible.
    Have you a quick reference to...
  47. Sweet! I'll dig in. Thanks, Paul!

    Sweet!
    I'll dig in.
    Thanks, Paul!
  48. Adding a Unique identifying number to a Teensy device

    I'll be shipping a Teensy 3.2-based device soon, and would like each device to have a unique number, to be included in error and usage logs.
    What's the best practice for that, or is there a unique...
  49. I'm way late to this party, but... Are you...

    I'm way late to this party, but...
    Are you compiling with Tools/USB Type: "Serial + MIDI"?
    I have some pure MIDI USB devices fail with that (iConnectivity MID interface, Yamaha digital piano). ...
  50. Thread: Haptics

    by Davidelvig
    Replies
    0
    Views
    684

    Haptics

    Iím interested to add haptic feedback to my Teensy-3.2-based project.
    Any guidance on where to start?
    Devices to use? Libraries? Strategies?
    Thanks!
Results 1 to 50 of 335
Page 1 of 7 1 2 3 4