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
    51
    Views
    2,854

    I'm setting up to do a branch of the tree in...

    I'm setting up to do a branch of the tree in github, so it should be easier to send you patches for individual changes.



    Yes, I was going to look at least at the ST7789, since it is similar to...
  2. Replies
    51
    Views
    2,854

    Note, I updated the zip file with...

    <edit #2>
    Note, I updated the zip file with changes. I messed up the config.h file initially and I did not set up the frame buffer, so async output did not work. I have fixed this now, and output...
  3. Replies
    3
    Views
    145

    According to my notes, the differences include: ...

    According to my notes, the differences include:

    The Teensy 3.6 has USB host support (i.e. act as a USB master to allow adding removable drives, etc.) via the five inner pins next to pins 1-6. ...
  4. Replies
    51
    Views
    2,854

    You are welcome. The main issue is the...

    You are welcome.


    The main issue is the polarDist_240*.cpp, disp_240*.cpp, and polarAngle_240.cpp files aren't built, so I had to move them into the top level directory so they would be built...
  5. Replies
    51
    Views
    2,854

    Its been awhile. With the slowdown due to the...

    Its been awhile. With the slowdown due to the upcoming USA Thanksgiving, I finally decided to take the time to play with Chris's code.

    I had to convert the code from PlatformIO back to Arduino,...
  6. Replies
    9
    Views
    541

    Yes. If you don't want to use the 3 pins...

    Yes.



    If you don't want to use the 3 pins on the audio board to connect a potentiometer, just don't connect pin 15. If you do want to use the pins on the audio board, just connect some other...
  7. No idea. I generally don't code stuff with lots...

    No idea. I generally don't code stuff with lots and lots of button and potentiometers.
  8. Whoops, I can't count. The Teensy 4.1 has 42...

    Whoops, I can't count. The Teensy 4.1 has 42 digital pins on the main rows of pins (out of 48 total pins). And 18 of those pins can be analog inputs, leaving 32 pins for digital uses after using 10...
  9. I can't answer most of the questions, but all...

    I can't answer most of the questions, but all Teensy LC/3.2/3.5/3.6/4.0/4.1 have at least 10 pins that can do analog input on the main set of pins. Now with some of them, 10 analog inputs is the...
  10. Replies
    5
    Views
    380

    Ws2812Serial and the OctoWS2811 library are...

    Ws2812Serial and the OctoWS2811 library are WS2812B/SK6812 only (hence the name). I recall in the past that the OctoWS2811 library did not support the RGBW leds. I don't recall if Ws2812Serial...
  11. Replies
    5
    Views
    380

    Other than the Teensy 2 systems (which IIRC have...

    Other than the Teensy 2 systems (which IIRC have less horse power than the Megas), all Teensy systems are 3.3 volt systems.

    In general, you would want to use level shifters. You didn't mention...
  12. Note for outdoor usage, TFT displays tend to have...

    Note for outdoor usage, TFT displays tend to have one orientation that is hard or impossible to read if you are using polarized sunglasses. I need to wear polarized sunglasses all of the time when...
  13. Obviously, there should be a non-blocking version...

    Obviously, there should be a non-blocking version of show in order for a busy function to be useful (unless you call busy from within an interrupt handler). Of course there are lots of things in the...
  14. Replies
    6
    Views
    494

    I just used the one that was listed in the...

    I just used the one that was listed in the Adafruit neopixel best practices page. But in the rig, I also added a 0.1uF ceramic capacitor. The idea is the big capacitor will handle larger power...
  15. What are you planning to do with the chip? ...

    What are you planning to do with the chip? Solder it to the audio shield? Solder it to the underside of the Teensy 4.1? Use it as a separate chip?

    I can't find the chips I've previous purchased...
  16. Replies
    6
    Views
    494

    In general, you always need to connect grounds if...

    In general, you always need to connect grounds if you connect devices to a microprocessor, even if the device is separately powered.

    The main exception is if you use something like an...
  17. Replies
    34
    Views
    6,046

    Some distributors (like Digikey) will allow...

    Some distributors (like Digikey) will allow pre-orders, some (like Adafruit) don't allow from pre-orders, but can send you e-mail when they get stock.

    Note, Digikey doesn't order directly from...
  18. Replies
    51
    Views
    2,854

    BTW, I was going through my 'junk' drawer, and I...

    BTW, I was going through my 'junk' drawer, and I ran across the acrylic lens holders for the Adafruit Hallowings (both M0 and M4), as well as the lens holder for the Monster M4SK. The opening on...
  19. Replies
    9
    Views
    573

    Or the alternative is to write your own library...

    Or the alternative is to write your own library that does what you want. You use that library exclusively for file I/O. The library then has several variants, depending on the OS, microprocessor,...
  20. If you are using the audio examples for playing...

    If you are using the audio examples for playing music from the SD reader on the micro SD card reader on the audio adapter shield, you can't use pin 13 for a LED (and hence you can't use examples 1-4...
  21. Lets see if I can shed a little light on the...

    Lets see if I can shed a little light on the subject. Note, while I know the libraries and the optimizations, I haven't delved into reading the machine specific optimizations or reading the various...
  22. Replies
    51
    Views
    2,854

    NP. My main issue was I wanted to set all of the...

    NP. My main issue was I wanted to set all of the user interface stuff in the .ino file, so that I didn't have to duplicate the code for each variant (i.e. square vs. round display, 1 or 2 eyes,...
  23. Replies
    3
    Views
    290

    The problem is Serial.print when you pass a char...

    The problem is Serial.print when you pass a char * argument, it expects the array to have a null byte to denote the end of the string. Even though you passed a char array, what is passed is a char...
  24. Replies
    51
    Views
    2,854

    FWIW, I uploaded my variant of the sources...

    FWIW, I uploaded my variant of the sources (mainly moving the uncanny eyes code into a library, and also support for some mono sounds):


    ...
  25. Replies
    7
    Views
    363

    One other thing to think of is if you are using...

    One other thing to think of is if you are using an I2C real time clock, depending on the whim of the manufacturer, the clock may have pull-up resistors on the I2C pins. In general, newer Adafruit...
  26. Replies
    51
    Views
    2,854

    Yes I agree with the library approach. I...

    Yes I agree with the library approach. I refactored my code to be a library. This way I can have many different .ino files, each of which has different configuration options (which display driver,...
  27. Replies
    51
    Views
    2,854

    Great! Besides playing sounds, I imagine other...

    Great! Besides playing sounds, I imagine other things (displaying neopixels, running servos via PWM, and reading keypresses in a timely fashion without using attachInterrupt) would benefit from it...
  28. Replies
    51
    Views
    2,854

    I'm just wondering out loud if pushing the frame...

    I'm just wondering out loud if pushing the frame rate higher than the current speed might trigger the issue. My sister has epilepsy, but I don't know where the trigger levels are. With my...
  29. Replies
    51
    Views
    2,854

    Cool. Cool again. I must admit...

    Cool.



    Cool again.



    I must admit after watching eyes at 6 fps (doing the un-optimized version of the 128x128 display on a Teensy 4.0 with 2 displays on the same SPI bus), that while 52fps...
  30. Happy belated 10th birthday Teensy 3.0

    I happened to be answering another question on the Adafruit forum, where I dug up photos for my first Arduino Uno project (July - October-ish 2012). It got me wondering how long I've been using...
  31. Paul, FrankB, or somebody more familiar probably...

    Paul, FrankB, or somebody more familiar probably should explain it better, but what I meant by ports is the non-specific pins that can be configured for either input or output. I didn't include...
  32. Replies
    13
    Views
    526

    Sparkfun sells this board. The design is open...

    Sparkfun sells this board. The design is open source, and the Eagle files are available, so you should be able to get your own version made:

    Sparkfun product:...
  33. Replies
    19
    Views
    1,155

    I am only switching between various 4 pin SPI...

    I am only switching between various 4 pin SPI displays which makes it simpler. If you are dealing with parallel data pins and different Teensies, you may need to deal with needing to use different...
  34. Replies
    19
    Views
    1,155

    Yes, I've been planning, making breadboards, and...

    Yes, I've been planning, making breadboards, and soldering up prototype boards that have 2 sets of SPI pins in a standard order with the idea that I can quickly swap either different displays or...
  35. You found the answer already, but for anybody...

    You found the answer already, but for anybody else curious, the pinout card lists all of the sound related pins in yellow. The ones with '1' in the name are the first I2S bus, and the ones with the...
  36. Replies
    2
    Views
    222

    FrankB had a library in the past...

    FrankB had a library in the past (https://github.com/FrankBoesing/T4_PowerButton) that would allow you to control the timeout. That library is now archived. I don't know if the archive still has...
  37. I'm not aware of one, but there are various...

    I'm not aware of one, but there are various places scattered around this site and others that can give some information. Lets see:

    Teensy 4.1 product page:...
  38. I'm a software guy, so I will defer information...

    I'm a software guy, so I will defer information about details and such to others.

    First of all, there is are older variants of Teensy (Teensy 2.0 and 2.0++) that really aren't part of the modern...
  39. Yes, I2C is also a shared bus. Unlike SPI that...

    Yes, I2C is also a shared bus. Unlike SPI that uses the CS pins to identify which device is active, with I2C, each device has a unique address. So the I2C master essentially blasts out the message...
  40. SPI is a shared bus. This means the 3 SPI...

    SPI is a shared bus. This means the 3 SPI control pins (MISO, MOSI, and SCK) are shared among all of the devices on the bus. The CS pin is separate for each device, and it is high or low (depending...
  41. It depends on which Teensy you have. If you...

    It depends on which Teensy you have.

    If you have a Teensy 4.0/4.1 and the revision D audio shield, you use the first column, i.e.:

    CS, pin 10 (alternate pins, any not used by the audio...
  42. The abs, fabs, and fabsf functions are all...

    The abs, fabs, and fabsf functions are all standard C functions. Until recently, C did not have overloading functions (C++ does, but not C). So if you call abs, the compiler converts the argument...
  43. Replies
    51
    Views
    2,854

    Pretty much that is me. I can do through hole...

    Pretty much that is me. I can do through hole soldering. I've done SMT soldering in the past, but these days I prefer somebody else to do it. And IIRC, the last time looked at the flash memory, I...
  44. Replies
    51
    Views
    2,854

    It might be helpful to list as options the...

    It might be helpful to list as options the various ways things can be configured, and of course pictures can help.

    When I'm doing breadboarding, etc. I tend to prefer have the Teensy with female...
  45. Replies
    51
    Views
    2,854

    Hmmm, I need to do is solder up another Audio...

    Hmmm, I need to do is solder up another Audio adapter to see if I can add sound and/or connect an external I2S device.

    I suspect we will need to add some yield calls to get the interrupts handled...
  46. Replies
    51
    Views
    2,854

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

    Cool! I can imagine that second eye pattern being effective with some halloween props.
  47. Replies
    51
    Views
    2,854

    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...
  48. Replies
    51
    Views
    2,854

    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...
  49. Replies
    51
    Views
    2,854

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