Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: retepsnikrep; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: ADC keyboard and fast response to user input, possible?

    Could you post your clock schematic and code please? Maybe in a new thread..
  2. Replies
    45
    Views
    8,510

    Re: Conway's Game Of Life

    I now have some text capability on my 16x16 Led 12F1840 'Life' setup.

    Ok it's static boring at the moment 5 byte x 8 bit font, but I also need to work out scrolling etc.

    Useful for menus and...
  3. Replies
    45
    Views
    8,510

    Re: Conway's Game Of Life

    Very nice Richard. What LED's are those?

    Did my thread resurrection encourage you.. LOL

    Can we have a look at your 2048 led code? In particular the word seeds....

    Thanks and very cool.
  4. Replies
    45
    Views
    8,510

    256 Led Matrix running on 12F1840 Pic.

    As video.

    Colour 'Life' on tiny 12F1840.

    https://youtu.be/M-yf_b0J-nM
  5. Replies
    45
    Views
    8,510

    Re: Conway's Game Of Life

    Could I have a look at your Life CRC16 code please Richard?
  6. Replies
    45
    Views
    8,510

    Re: Conway's Game Of Life

    Thanks Henrick..

    If the array transform only takes call it ~5ms per generation then at 15hz it's using 75ms in a second.
    Roughly equivalent to one extra generation per second. Getting close to...
  7. Replies
    45
    Views
    8,510

    Re: Conway's Game Of Life

    Currently i'm using three things.

    1) A simple maximum number of generations reset limit (500). That catches everything.

    2) A simple live cell counter. If it's zero then it resets.

    3) A...
  8. Replies
    45
    Views
    8,510

    Evaluate the Neopixel array directly

    So a final effort to save 1024 bytes of RAM, one complete array, and perhaps give some increase in speed would be to be able to directly evaluate the odd neopixel array layout.

    As I mentioned the...
  9. Replies
    45
    Views
    8,510

    Re: Conway's Game Of Life

    Thanks. All good stuff. I think we are getting near the limit.

    The actual output to the WS2812B 1024 NeoPixel array is handled by the large mixed basic/assembler subroutine below.

    I made a...
  10. Replies
    45
    Views
    8,510

    Re: Conway's Game Of Life

    For the big evaluation routine we currently have this giving about 15hz



    '----------------------- Also creating a newled data array to be displayed on next generation -------------

    FOR...
  11. Replies
    45
    Views
    8,510

    Re: Conway's Game Of Life

    Thanks to all who have contributed so far. :cool:

    I will post the complete code and circuit schematic etc when I have it finished and we can't eek out any more speed.

    I tweaked if LED[Counter]...
  12. Replies
    45
    Views
    8,510

    Re: Conway's Game Of Life

    That all works and I changed the AND statements.
    Maybe 15hz now :) but I need to do some proper timing.



    The arrays also store LED RGB colour and brightness information so one bit is not...
  13. Replies
    45
    Views
    8,510

    Re: Conway's Game Of Life

    I incorporated all those ideas and it is now running at over 13hz v 3hz before. Well done Team! :D

    The Colour Array is only 8 elements and holds the colour of any adjacent cells to the one being...
  14. Replies
    45
    Views
    8,510

    Re: Conway's Game Of Life

    I'm very grateful for all these interesting replies. Thank you.

    There are three basic 1024 element byte arrays.


    Led var byte[1024] used to hold the current generation of cells


    LedNew...
  15. Replies
    45
    Views
    8,510

    1024 led Code optimisation: Conway's Game Of Life

    This is progressing very nicely and I now have 1024 leds in colour.

    In order to conserve RAM I got rid of two of the colour arrays for the NeoPixels and just kept a single array with RGB info in...
  16. Replies
    45
    Views
    8,510

    Re: Conway's Game Of Life

    Still working on this.

    Thanks to help with example code on this and other NeoPixel threads I now have a 1024 led.

    Driving 1024 leds with (PIC 18F26K80) at just over 3hz

    Need to work on...
  17. Replies
    6
    Views
    3,441

    Re: Dynamic NeoPixel Demo

    I've seen all that thanks.

    Sadly it doesn't help with my specific questions about the earlier work they did.

    I'm interested in the 32mhz code and the 12F1840 code.
  18. Replies
    6
    Views
    3,441

    Re: Dynamic NeoPixel Demos

    Great work by you two guys, I have been studying your code and I hope you are both still watching the thread.

    I'm repurposing some of the code for a coffee table top Conway's 'life' simulator. ...
  19. Replies
    7
    Views
    1,453

    Re: 26K80 Configuration and Port C 0, 1

    It all went on the back burner and I changed tack after I originally misread 26k80 FM. :)

    I reread it recently and established my incompetence so I resurrected the original project.

    Thanks for...
  20. Replies
    7
    Views
    1,453

    Re: 26K80 Configuration and Port C 0, 1

    Actually I was wrong again it is pin compatible and working ok now.
  21. Replies
    45
    Views
    8,510

    Re: Conway's Game Of Life

    Thanks Henrik that was just the kick start I needed.

    Now to get the rest sorted..

    https://youtu.be/PAk4OfrT_kQ?t=121
  22. Replies
    45
    Views
    8,510

    Re: Conway's Game Of Life NeoPixel

    Thread resurrection. Code help please.

    I'm working on this using a sequential 256 led neopixel string which is laid out in a prebuilt 16x16 matrix panel.

    The neopixel string works fine but...
  23. Replies
    12
    Views
    2,063

    Re: Serin after instant interupt?

    Thanks for the input.

    Incoming data is standard 9600,8,N,1
    Interbyte delay 80us
    Packets are 5 bytes long.

    1) Header (I know what this will be so could skip/lose this byte)
    2) Length (5)
    3)...
  24. Replies
    12
    Views
    2,063

    Re: Serin after instant interupt?

    I'm using software serin2 on a non usart pin.. My hardware UART are taken.
  25. Replies
    12
    Views
    2,063

    Re: Serin after instant interupt?

    I don't have any control over the transmitting device.. So I can't add bytes.
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4