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

Search:

Type: Posts; User: mortonkopf

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. to me it looks like red and blue values in the...

    to me it looks like red and blue values in the RGB are switched. You can alter the way that the colours are put back together when they are retrieved from the SD File, and ensure that they are put...
  2. glad that it helps.

    glad that it helps.
  3. hi. you might find the post here useful as it...

    hi. you might find the post here useful as it describes reading a bmp for image display, and later in the thread describes how to use this for light painting. This is useful as it reads one line at a...
  4. you may find that boards is greyed out unless you...

    you may find that boards is greyed out unless you change output mapping mode to "boards of pixels" rather than "single pixels". this is under menu>options>output. but I have not used this option, so...
  5. hi there, I had a look at my Glediator settings...

    hi there, I had a look at my Glediator settings for a project last year using the octoboard, and I had Pixel Order = HL_TL and Board Order = HS_TL. so perhaps your pixel order should be HL_TR and...
  6. Replies
    12
    Views
    285

    @misterwilling. glad you got it working with the...

    @misterwilling. glad you got it working with the approach we discussed, it seems like a lot of work at first, but actually makes everything very straight forward and whats more, reuseable for...
  7. Replies
    12
    Views
    285

    @nouk, following on from the above post, your led...

    @nouk, following on from the above post, your led reference array would therefore be something like:

    int myled[] = {3,4,5,8,9,10,11,12,20,21,22,23,24,25,26,35,36,...etc};

    you image data is held...
  8. Replies
    12
    Views
    285

    Hi, the way to get the led colour from the array...

    Hi, the way to get the led colour from the array of all the pixel data is to imagine the whole frame of pixel data in the buffer as a consecutive list of pixel values, and not to worry about what...
  9. Replies
    12
    Views
    285

    personally, I would leave all processing, Jinx...

    personally, I would leave all processing, Jinx and glediator output as standard, and do the pixel shifting at the Teensy end. This way you repurpose the code more easily for different input streams....
  10. Replies
    12
    Views
    285

    It looks to be like you could use a led reference...

    It looks to be like you could use a led reference array. This is where you put the led number into an array that can be looped through in the usual plus one loop, but will grab the correct pixel info...
  11. Replies
    1
    Views
    52

    does this help:...

    does this help: https://forum.pjrc.com/threads/57153-FastLED-not-compiling-on-Teensy-LC-SysTick-not-defined
    you might have a look to Ensure you have the latest fastled
  12. midi to analogue synth applications (CV out) ?

    midi to analogue synth applications (CV out)

    ?
  13. explore non-blocking ws2811/12 library if using...

    explore non-blocking ws2811/12 library if using less than 600 leds? https://github.com/PaulStoffregen/WS2812Serial
  14. Replies
    30
    Views
    941

    for setting the function of the chip, see page 21...

    for setting the function of the chip, see page 21 of the data sheet : IOCON: I/O EXPANDER CONFIGURATION REGISTER
    this sets out why you have the bit settings as described above.
  15. Replies
    30
    Views
    941

    hi, datasheet:...

    hi, datasheet: http://ww1.microchip.com/downloads/en/devicedoc/20001952c.pdf



    if you have a read of the GitHub repository for the library https://github.com/sumotoy/gpio_expander
    , read the...
  16. Replies
    30
    Views
    941

    good to know that you know which mcp chip is...

    good to know that you know which mcp chip is which re addresses. hopefully you can see which teensy pins are being used for the spi bus, this is going to be crucial in getting the mcp working. on the...
  17. Replies
    30
    Views
    941

    I think that you will save yourself a lot of time...

    I think that you will save yourself a lot of time by seeing if the manufacturer will reprogramme the Teensy. Anyhow, can you see from the traces which pins are being used for SPI? it may be there is...
  18. Replies
    30
    Views
    941

    It looks like this is going to be a long haul....

    It looks like this is going to be a long haul. your best best is to get used to the serial monitor built in with the Arduino IDE, it makes life very simple when Debugging, as you can insert simple...
  19. Replies
    30
    Views
    941

    here is an schematic of the mcp23s17 using inputs...

    here is an schematic of the mcp23s17 using inputs and outputs set and read by the bit read functions
    16945

    you might some reaction from the chips using this code if you know which chip is address...
  20. Replies
    30
    Views
    941

    hi there @Gr8guitar. Happy to try and help out, I...

    hi there @Gr8guitar. Happy to try and help out, I am not sure of how familiar you are with the language and the programming environment, the support for these chips is not the easiest to get your...
  21. Replies
    30
    Views
    941

    The best course of action is to return for...

    The best course of action is to return for reprogramming
  22. Replies
    30
    Views
    941

    these chips have the option to use interrupts, so...

    these chips have the option to use interrupts, so there may have been a set up in code to wait, or it may have been set up to poll. I use Sumotoys library and use polling with the Teensy 3.5, as this...
  23. Replies
    8
    Views
    294

    for multiple strips, follow crees direction and...

    for multiple strips, follow crees direction and instantiate fastled for each pin you want: https://github.com/FastLED/FastLED/wiki/Multiple-Controller-Examples


    void setup() {
    ...
  24. Also, MCP23S17 port expanders. These are SPI...

    Also, MCP23S17 port expanders. These are SPI based, and work on a single chain, with each of the MCP chips having a separate hardware address. The chain length is limited to 8 chips. there are so...
  25. well, this is my barebones code: /* *This...

    well, this is my barebones code:


    /*
    *This sketch outputs images to persistence of vision led strips
    *It uses FastLed to drive APA102 leds, sending colour values from
    *arrays held in flash...
  26. @po ting, these look great.

    @po ting, these look great.
  27. @abrownnm - sorry, but I haven't used that...

    @abrownnm - sorry, but I haven't used that abstraction of the poi code so can't help with that. However, have you run your setup with just using the firstlight Fastled example in the examples...
  28. oh, nope, its all cool as is its all for sharing,...

    oh, nope, its all cool as is its all for sharing, but thanks for the offer. It s been a collaborative effort by a lot people on this thread / forum...
  29. regarding voltage for lef strips, there have been...

    regarding voltage for lef strips, there have been a lot of different experiences from users here on the forum. I successfully run the 5v led strips from a single. IT seems to be the difference in...
  30. Hi, enjoy build the POV. you don't need to use...

    Hi, enjoy build the POV. you don't need to use the charging circuit, you can use a battery sled. I used one on an earlier version when testing, it was 4 AAA rechargeable (but recharging using a stand...
  31. Replies
    2
    Views
    311

    Hi there. For standard Octows2811 setup, you can...

    Hi there. For standard Octows2811 setup, you can use the following to generate scolling text:



    #include "OctoWS2811.h"

    //fixed values for octoWS2811
    const int ledsPerStrip = 60;
    DMAMEM...
  32. great that it's all going now, no need for...

    great that it's all going now, no need for anything other than the thanks you have already said.
  33. check the spelling of the BMP file in the code....

    check the spelling of the BMP file in the code. At the moment you have a comma, not a point. That may or may not be the issue, but the code should work if you have the right file name, and the file...
  34. @johnwatterson, sorry, missed this, perhaps keep...

    @johnwatterson, sorry, missed this, perhaps keep all questions to the same bitmap thread. Anyhow, you need to put in a timer function of some sort. the easiest way is to count milliseconds. We mark...
  35. I buy regularly from chinese stores on Alibaba....

    I buy regularly from chinese stores on Alibaba. the led strips have been fine, but occasionally I have had to pay duty / tax.
    I see that the apa102 2020 strips are just starting to be produced. It...
  36. Replies
    54
    Views
    3,197

    static text display using the Teensy OctoWS2811...

    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...
  37. Replies
    54
    Views
    3,197

    hopefully you managed to get the colours in the...

    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...
  38. The Glediator example code is running a...

    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...
  39. Replies
    54
    Views
    3,197

    great progress! what approach did you go with,...

    great progress! what approach did you go with, the maths zigzag routine I posted above? or the array approach?
  40. Replies
    54
    Views
    3,197

    well, you will now need to remap the pixel data...

    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...
  41. Replies
    54
    Views
    3,197

    the easiest way is to leave all the pixel data...

    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...
  42. Replies
    54
    Views
    3,197

    ok, thats very useful. The other thing to know is...

    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...
  43. Replies
    54
    Views
    3,197

    I would use a BMP image that has four distinct...

    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...
  44. Replies
    54
    Views
    3,197

    the colours are probably off due to my reusing...

    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...
  45. Replies
    54
    Views
    3,197

    Hi, yes you should just replace the filename in...

    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...
  46. chainable SPI port expanders will give you a lot...

    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
  47. Replies
    54
    Views
    3,197

    @johnwatterson. I haven't been able to run this...

    @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...
  48. Replies
    54
    Views
    3,197

    hi, hopefully I will get a chance to look at this...

    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...
  49. Replies
    54
    Views
    3,197

    @johnwatterson - stick with it. what you learn on...

    @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...
  50. Replies
    54
    Views
    3,197

    Hi. the pins for the SD card are taken care of...

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