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

  1. Replies
    23
    Views
    745

    Cool! I can imagine that second eye pattern...

    Cool! I can imagine that second eye pattern being effective with some halloween props.
  2. Replies
    23
    Views
    745

    Given you only read the eye images from storage...

    Given you only read the eye images from storage once when the microprocessor is booted, and it doesn't take that long, I'm not convinced that trying to optimize the loading will mean the code runs...
  3. Replies
    23
    Views
    745

    Yes and no. When you are doing 2 eyes, it does...

    Yes and no. When you are doing 2 eyes, it does both eyes with frame buffers and starts the transfer. At the end, it waits for both eyes to finish before returning, and bumping the frame count as...
  4. Replies
    23
    Views
    745

    Some timings: Teensy 4.1 using the...

    Some timings:


    Teensy 4.1 using the GC9A010A_t3 driver (round 240x240), 2 eyes: 42 frames/second. The SPI bus is 48 Mhz. Bumping the SPI bus to 99 Mhz did not change the fps.
    Teensy 4.1...
  5. I don't have any recent usage of ILI9341's. But...

    I don't have any recent usage of ILI9341's. But with several of the displays I've used with uncanny eyes (128x128 OLED in particular), I have to reduce the SPI frequency down because the processor...
  6. Is it flipped or rotated? If it is just rotated,...

    Is it flipped or rotated? If it is just rotated, there is a class function setRotation that rotates the image 0, 90, 180, or 270 degrees. If it is a mirror image, you would need to do something...
  7. Replies
    5
    Views
    128

    That looks like the code I posted when the Teensy...

    That looks like the code I posted when the Teensy 4.0 came out. If so, I'm glad it was helpful.



    I don't believe the Audio SynthToneSweep function has an option to decrease the step. At least...
  8. Sparkfun makes the following device that can be...

    Sparkfun makes the following device that can be plugged into a micro-SD slot and allows you to get access to the 8 pins:

    https://www.sparkfun.com/products/9419


    I saved the following links...
  9. Replies
    5
    Views
    125

    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...
  10. Replies
    17
    Views
    316

    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...
  11. Replies
    17
    Views
    316

    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...
  12. Replies
    17
    Views
    316

    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...
  13. Replies
    96
    Views
    2,428

    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
    ...
  14. 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...
  15. 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...
  16. 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...
  17. Replies
    8
    Views
    375

    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...
  18. 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). ...
  19. Replies
    4
    Views
    177

    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...
  20. 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...
  21. 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.
  22. Replies
    148
    Views
    5,082

    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...
  23. 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...
  24. 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,...
  25. Replies
    23
    Views
    745

    Great, thanks.

    Great, thanks.
  26. Replies
    23
    Views
    745

    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...
  27. Replies
    23
    Views
    745

    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...
  28. 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:


    ...
  29. @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...
  30. Replies
    23
    Views
    745

    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...
  31. Replies
    23
    Views
    745

    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:

    ...
  32. Replies
    23
    Views
    745

    @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...
  33. Replies
    11
    Views
    216

    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...
  34. Replies
    23
    Views
    745

    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...
  35. Replies
    7
    Views
    232

    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...
  36. 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...
  37. 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++...
  38. 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...
  39. 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...
  40. Replies
    3
    Views
    227

    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...
  41. 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.
  42. Replies
    3
    Views
    227

    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...
  43. 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...
  44. Replies
    5
    Views
    124

    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.
    ...
  45. 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...
  46. 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...
  47. 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.
  48. Replies
    3
    Views
    191

    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...
  49. 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...
  50. 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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4