Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • mortonkopf's Avatar
    Today, 02:41 PM
    static text display using the Teensy OctoWS2811 library @JohnWatterson, below is an example of displaying static text using the OctoWS2811 library for Teensy. It should get you going. Just change the ledsPerStrip...
    54 replies | 1537 view(s)
  • mortonkopf's Avatar
    01-16-2019, 12:25 PM
    hopefully you managed to get the colours in the right order now. Regarding the text element, there is code around for displaying text on led arrays. This uses an array to hold char values. are you talking about this...
    54 replies | 1537 view(s)
  • mortonkopf's Avatar
    01-14-2019, 12:33 PM
    The Glediator example code is running a 1-byte-at-a-time read. It might be speed things up to change that initial "get it working" sketch to use a buffer? This section, where serialGlediator() is a serial read: for...
    22 replies | 324 view(s)
  • mortonkopf's Avatar
    12-24-2018, 11:12 AM
    great progress! what approach did you go with, the maths zigzag routine I posted above? or the array approach?
    54 replies | 1537 view(s)
  • mortonkopf's Avatar
    12-21-2018, 11:23 AM
    well, you will now need to remap the pixel data to account for the zigzag. This is most usually done in one of two ways. 1) use a reference array. this is when you set out you led numbers in their actual pattern. you...
    54 replies | 1537 view(s)
  • mortonkopf's Avatar
    12-19-2018, 08:07 PM
    the easiest way is to leave all the pixel data alone in the array buffers, and then as you call the data for setting the leds in the for loop, do some redistribution using a reference array. if you describe the led...
    54 replies | 1537 view(s)
  • mortonkopf's Avatar
    12-19-2018, 10:18 AM
    ok, thats very useful. The other thing to know is how are you currently redistributing the colour values in the buffer arrays to account for your zigzag pattern of led strips? Also, what is the zigzag pattern you are...
    54 replies | 1537 view(s)
  • mortonkopf's Avatar
    12-15-2018, 09:05 AM
    I would use a BMP image that has four distinct colours, one in each corner, such as blue, red, green, yellow. So you have four rectangles of colour. This way you can also see if you zigzag maths to redistribute the...
    54 replies | 1537 view(s)
  • mortonkopf's Avatar
    12-10-2018, 09:41 AM
    the colours are probably off due to my reusing the colour helper function from a previous project where the R G and B were in a different order. Try a couple of changes. 1. change the line...
    54 replies | 1537 view(s)
  • mortonkopf's Avatar
    12-08-2018, 12:11 PM
    Hi, yes you should just replace the filename in bpmDraw("test.bmp"). I did this with three files to test it and did not receive an error. What is the verbose output for the Teensy error? it may be my use of converting a...
    54 replies | 1537 view(s)
  • mortonkopf's Avatar
    12-07-2018, 10:23 AM
    chainable SPI port expanders will give you a lot of pins. With the MCP23s17 expander You can chain eight to one SPI of the Teensy. works just fine for my MIDI projects
    9 replies | 366 view(s)
  • mortonkopf's Avatar
    12-06-2018, 09:29 PM
    @johnwatterson. I haven't been able to run this through an array hooked up to the Octows2811 adaptor but it should be a step in the right direction. It put the entire BMP pixel info into three buffers of bytes, one each...
    54 replies | 1537 view(s)
  • mortonkopf's Avatar
    12-05-2018, 10:39 PM
    hi, hopefully I will get a chance to look at this tomorrow, but looks like its going to be regarding BUFFPIXEL, or buffer size, as this sketch was only for sending out the bmp colour data to one row of leds.
    54 replies | 1537 view(s)
  • mortonkopf's Avatar
    12-05-2018, 02:24 PM
    @johnwatterson - stick with it. what you learn on this project you will be able to use on another and get up and running very quickly on the next project. So, to recap, can you post the sketch you are using. I think...
    54 replies | 1537 view(s)
  • mortonkopf's Avatar
    12-01-2018, 08:01 PM
    Hi. the pins for the SD card are taken care of for you when you define "const int chipSelect = BUILTIN_SDCARD;" the Teensy will library will deal with this if using the onboard sd card slot. Hope that clarifies things.
    54 replies | 1537 view(s)
  • mortonkopf's Avatar
    11-29-2018, 07:57 PM
    but why not just use OctoWS2811 library for eight output strips? So, I guess from here it is run a test sketch to ensure that the SD card bitmap is read, run a test sketch to ensure that all eight strips of leds...
    54 replies | 1537 view(s)
  • mortonkopf's Avatar
    11-28-2018, 07:14 PM
    there are a couple of things to consider such as power supply, supply location for longer strips, delay in refresh rate for longer strips, potential delay in SD card read, etc, but yes, should work. You will also need...
    54 replies | 1537 view(s)
  • mortonkopf's Avatar
    11-28-2018, 06:50 PM
    only works on pin 2 as that is what is declared in the sketch. the call to the leds is using the Fastled library, and that has been initialised to use pin2 in your setup. #define DATA_PIN 2 //the pin that Led strip is...
    54 replies | 1537 view(s)
  • mortonkopf's Avatar
    11-24-2018, 05:45 PM
    hi there. You will find plenty of support on this forum to help you through. Unfortunately I am fully committed with paid work right now, so won't be able to take you up on that offer, but glad to freely help where I...
    7 replies | 271 view(s)
  • mortonkopf's Avatar
    11-24-2018, 02:57 PM
    hi there. if you go to the examples drop down menu and then go to the teensy examples and choose SD, in there select cardinfo sketch. When you look inside that sketch you will see that there is a list of options for...
    7 replies | 271 view(s)
  • mortonkopf's Avatar
    11-24-2018, 08:20 AM
    you could save the image as a bitmap image of the right dimensions to the sd card and read the bitmap out to the leds from there, no need to convert the image to a hex file. A code example for reading a bitmap data (and...
    7 replies | 271 view(s)
No More Results
About mortonkopf

Basic Information

About mortonkopf
Location:
London, uk

Statistics


Total Posts
Total Posts
876
Posts Per Day
0.42
Last Post
Bitmap with Teensy3.5 Today 02:41 PM
General Information
Last Activity
Today 02:42 PM
Join Date
04-26-2013