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

Search:

Type: Posts; User: MichaelMeissner

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    5
    Views
    100

    Well pin 19 (along with pin 18) is on the main...

    Well pin 19 (along with pin 18) is on the main I2C bus. It could be one of your libraries or the startup code is causing the I2C bus to be initialized. Or if you have the Teensy mounted in an...
  2. Replies
    17
    Views
    304

    There are other options than the audio shield. ...

    There are other options than the audio shield. The audio shield is nice because it is designed to be directly attached to the Teensy, it has volume control that can be controlled by the Teensy, it...
  3. Replies
    17
    Views
    304

    More than you wanted to know about WS2812 leds

    Basically in terms of WS2812B's, it is complicated. And as somebody who has used neopixels/ws2812b's for awhile, I've seen some of the issues (often called 'grumpy' neopixels back then).

    Over...
  4. Replies
    17
    Views
    304

    I would suggest thinking about using a combined...

    I would suggest thinking about using a combined keypad/LED setup, such as this 4x4 keypad from Adafruit that includes neopixels. Note when I wrote this, Adafruit was sold out, but digikey had 29...
  5. Replies
    96
    Views
    2,202

    In terms of examples, it would be nice if the...

    In terms of examples, it would be nice if the examples were updated to use the correct pins via #ifdef's for different processors. For example the audio examples:


    WavFilePlayer
    ...
  6. In terms of the audio, it quickly becomes a mess....

    In terms of the audio, it quickly becomes a mess. The audio shield only has connections for pins 7 and 8. I believe the hardware also support pins 6 (OUT1D), 9 (OUT1C), 32 (OUT1B) and 39 (alternate...
  7. Adafruit sells that flash chip to attach to their...

    Adafruit sells that flash chip to attach to their QT PY M0 board. Adafruit only supports that one flash chip in their Circuit Python support for the board. They only mention the QT PY M0 as...
  8. Yes, don't use that example directly since that...

    Yes, don't use that example directly since that is made for SPI flash. Assuming you are using a recent teensy dunio, you want to use the LittleFS_QSPIFlash constructor and not LittleFS_SPIFlash...
  9. Replies
    8
    Views
    328

    Posts from Paul indicate that there are not chips...

    Posts from Paul indicate that there are not chips in the pipeline for the immediate future for the Teensy 3.x processors. He is getting the chips for Teensy 4.0 and 4.1, so those might better...
  10. If you are using the Octows2811 library with the...

    If you are using the Octows2811 library with the Octows2811 board, it should write the LEDs without having to disable interrupts for the entire period (like the Adafruit_Neopixel library does). ...
  11. Replies
    4
    Views
    166

    Yes, documentation can be a problem. There is...

    Yes, documentation can be a problem. There is the old UTSL method (Use the source Luke), but that can be hard to know where to start.

    Here is a page where many of the Teensy libraries are...
  12. It depends on what you are doing. If you are...

    It depends on what you are doing. If you are accessing the PSram chips as normal volatile memory, you don't have to do anything, the Teensy setup code handles it. If you look at Teensy 4.1 product...
  13. Due note that this thread was posted over 2 years...

    Due note that this thread was posted over 2 years ago. I would suspect the OP either has solved the problem or moved on to something else.
  14. Replies
    147
    Views
    4,764

    You need at least Teensyduino 1.57 Beta #3, which...

    You need at least Teensyduino 1.57 Beta #3, which was the revision that added the Serial + MTP build option:

    https://forum.pjrc.com/threads/70455-Teensyduino-1-57-Beta-3


    But it would be...
  15. Sorry I thought you were talking about the audio...

    Sorry I thought you were talking about the audio adapter which can be mounted on top of or under the Teensy. I missed you mentioning USB host.

    For the USB host stuff, you typically would use one...
  16. With the audio shield there are 2 different...

    With the audio shield there are 2 different outputs:


    The 3.5mm audio connector meant for headphones
    The 3 pins for line out


    So if your bluetooth connection plugs into a headphone jack,...
  17. Replies
    11
    Views
    481

    Great, thanks.

    Great, thanks.
  18. Replies
    11
    Views
    481

    No unless the ST7789_t3 or GC9A01A libraries do...

    No unless the ST7789_t3 or GC9A01A libraries do it. I haven't really dug into the code, I've mostly just been re-packaging it so that I could more easily change which pins are used, etc. The code...
  19. Replies
    11
    Views
    481

    And my luck is continuing. I now have moved...

    And my luck is continuing. I now have moved Uncanny Eyes code into a separate library that supports both the ST7789 (240x240 square display) and GC9A01A (240x240 round display). After I got the 2nd...
  20. I've never used it on Teensys, but I suspect you...

    I've never used it on Teensys, but I suspect you want to set up two additional pins to CTS (clear to send) and RTS (request to send) to use hardware flow control:


    ...
  21. @mjs513: I've been making the GC9A01A uncanny...

    @mjs513:

    I've been making the GC9A01A uncanny eyes example into a library, so I can have different .ino files that have different # of eyes, different CS pins, etc. I noticed that there was a...
  22. Replies
    11
    Views
    481

    For the record, I paid for the round eyes from...

    For the record, I paid for the round eyes from the Canadian supplier on Thursday September 1st, and they arrived today (Monday September 12th). It might have shaved a few days off the delivery if...
  23. Replies
    11
    Views
    481

    The Adafruit learning guide has a howto on how to...

    The Adafruit learning guide has a howto on how to add PIR (infrared heat sensor) support to the original uncanny eyes (that supported the Teensy 3.2) to build a skull where the eyes tracks you:

    ...
  24. Replies
    11
    Views
    481

    @dundakitty: Sounds like a reasonable...

    @dundakitty: Sounds like a reasonable optimization for the driver (I assume you did it in the driver and not in the uncanny eyes code). You could use less memory by instead of using a single byte...
  25. Replies
    11
    Views
    208

    It depends on what you do, and whether you...

    It depends on what you do, and whether you descend into doing low level mucking about or you just use the library functions. Some time ago I wrote a list of differences that I knew of in the...
  26. Replies
    11
    Views
    481

    Uncanny Eyes is getting expensive

    As some/many of you know, I have this thing for the Adafruit uncanny eyes project, tracking it from using it on a Teensy 3.2, 3.5, 3.6, Teensy 4.0, and Teensy 4.1. In the 3.x era, I used the 128x128...
  27. Replies
    7
    Views
    217

    Generally, you should copy + paste the error...

    Generally, you should copy + paste the error messages involved so that people can help you fix the problem. If you are compiling one of the examples without modification, then just tell us what...
  28. The point is to use type correct format...

    The point is to use type correct format specifiers for *printf and *scanf. Perhaps the next machine you build for will map int32_t into long, perhaps it will map it into int. The other alternative...
  29. Note the inttypes.h include file defines various...

    Note the inttypes.h include file defines various format modifiers for passing values to the *printf and *scanf functions. These format modifiers are string literals, and you can use the C/C++...
  30. Thanks. For my purposes, PROGRAM memory is the...

    Thanks. For my purposes, PROGRAM memory is the way to go (possibly also PSRAM) since I want the memory to survive both power cycles and loading sketches. I've pretty much stopped new development on...
  31. I had a senior moment with playing with MTP. I...

    I had a senior moment with playing with MTP. I wanted to verify that it would be a full replacement for TeensyTransfer. So I was going through my devices.

    Teensy 4.1, 3.6, 3.5 built-in micro...
  32. Replies
    3
    Views
    206

    Here is an example of ToneSweep for external I2S:...

    Here is an example of ToneSweep for external I2S:



    /*
    Demo of the audio sweep function.
    The user specifies the amplitude,
    start and end frequencies (which can sweep up or down)
    and...
  33. Bear in mind that the Arduino Due runs at 84Mhz,...

    Bear in mind that the Arduino Due runs at 84Mhz, while the Teensy 4.1 typically runs at 600Mhz, but I would imagine that setting external pins may run at a slower bus rate.
  34. Replies
    3
    Views
    206

    Unfortunately you won't be able to do what you...

    Unfortunately you won't be able to do what you want with just what you've bought.

    The 3.1, 3.2, 3.5, and 3.6 Teensies (for which the example was written) have 1 pin (Teensy 3.1 and 3.2) or two...
  35. The SPI pins are tied to the underlying...

    The SPI pins are tied to the underlying microprocessor. The only user pin that you can change is using pin #39 for MISO1 instead of pin #1. In general, you should be able to use any pin for CS1...
  36. Replies
    5
    Views
    111

    Also, clone the library to a different name (i.e....

    Also, clone the library to a different name (i.e. something like LiquidCrystal_I2C_Wire2), and then do the replacement. That way if you update your libraries, your version won't get over-written.
    ...
  37. Yes if we fix the generic constructor to handle...

    Yes if we fix the generic constructor to handle both NAND and NOR systems, that would be nice. With the last MTP_t4 that I downloaded, it didn't work. But changing which constructor to use is...
  38. Update example to add support for QSPI NAND flash

    I bought a fully loaded Teensy 4.1 from protosupplies.com that had a 128 megabyte W25N01GVZEIG NAND flash chip instead of the more common W25Q128JVSIQ NOR flash chip. I noticed that the MTP_t4...
  39. All modules are compiled with -ffunction-sections...

    All modules are compiled with -ffunction-sections -fdata-sections and the linker is passed --gc-sections which means that the linker will delete functions and global data that aren't referenced.
  40. Replies
    3
    Views
    182

    I could imaging using something like the i2c...

    I could imaging using something like the i2c scanner example in the setup function that probes a device and sees if it responds within a given period of time.

    Lets see, the heart of the i2c...
  41. And another reason you might get the error is...

    And another reason you might get the error is just the program is so large that the address limits are too small.

    For example, in the development of GCC for the power10, two of the Spec 2017...
  42. If it is a function that located in a location...

    If it is a function that located in a location you can't get to via a single call instruction, I believe the ARM GCC supports declaring the function with the longcall attribute. If you call such a...
  43. Note, while I have worked on various GCC targets...

    Note, while I have worked on various GCC targets over the years, I've never worked on an ARM microprocessor (at the level of knowing the underlying instruction set, etc.)

    But in general what...
  44. WS2812Serial does not support a busy function

    I was modifying my all dancing, all singing neopixel libraries to add support for WS2812Serial. In looking at the header file, I noticed there was a busy function that returned a bool. I assumed...
  45. IIRC, the cable for USB host is a PC cable used...

    IIRC, the cable for USB host is a PC cable used internally in older motherboards. The two grounds were because there was the concept of ground within the device, and true earth ground. I'm a...
  46. First of all, joepasquariello IIRC, dc is often...

    First of all, joepasquariello IIRC, dc is often written as D/C or device/command. It is a fast way to tell the SPI controller whether the bitstream via the MOSI pin is data or commands.

    Note, I...
  47. Replies
    147
    Views
    4,764

    I haven't used that particular wall wart, but in...

    I haven't used that particular wall wart, but in general assuming the wall wart delivers USB power within specifications (i.e. 4.8 to 5.2 volts, and it provides at least 500mA of power) it should be...
  48. In addition to using the flash memory on the...

    In addition to using the flash memory on the Teensy 4.1, the Teensy has two sets of solder pads underneath the Teensy. You can solder two memory chips to these pads:

    One or two PSram chips, 8...
  49. Replies
    147
    Views
    4,764

    If you look at post #87 in this thread that I did...

    If you look at post #87 in this thread that I did on August 11th, it has the directions to enable building MTP devices.
  50. Replies
    43
    Views
    3,000

    Sticky: As it says in the error message, you have to...

    As it says in the error message, you have to select a different USB type for the Teensy.


    Select the Tools drop down menu
    Select the USB Type sub-menu
    Within the USB Type sub-menu, select...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4