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. Replies
    2
    Views
    373

    Re: 18f2680 can config

    No one working with CAN?
  2. Replies
    2
    Views
    373

    18f2680 can config

    Hi I could do with a bit of help on optimum PIC18F2680 CAN timing settings.
    It is correctly terminated with 120R resistors at both ends.

    I'm confused by quanta etc.

    The PIC data sheet is...
  3. Replies
    10
    Views
    873

    Re: 12F683 _CONFIG problem

    I've never seen it done like that before and I also use DT stuff and 16f83...
  4. Replies
    10
    Views
    873

    Re: 12F683 _CONFIG problem

    Why are you putting the pic config stuff in the assembler code sections?

    Here is one of my 12F683 configs..

    It should be right at the start of the program.



    #config
    __config _FCMEN_ON...
  5. Re: ADC keyboard and fast response to user input, possible?

    Could you post your clock schematic and code please? Maybe in a new thread..
  6. Replies
    45
    Views
    10,556

    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...
  7. Replies
    45
    Views
    10,556

    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.
  8. Replies
    45
    Views
    10,556

    256 Led Matrix running on 12F1840 Pic.

    As video.

    Colour 'Life' on tiny 12F1840.

    https://youtu.be/M-yf_b0J-nM
  9. Replies
    45
    Views
    10,556

    Re: Conway's Game Of Life

    Could I have a look at your Life CRC16 code please Richard?
  10. Replies
    45
    Views
    10,556

    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...
  11. Replies
    45
    Views
    10,556

    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...
  12. Replies
    45
    Views
    10,556

    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...
  13. Replies
    45
    Views
    10,556

    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...
  14. Replies
    45
    Views
    10,556

    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...
  15. Replies
    45
    Views
    10,556

    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]...
  16. Replies
    45
    Views
    10,556

    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...
  17. Replies
    45
    Views
    10,556

    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...
  18. Replies
    45
    Views
    10,556

    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...
  19. Replies
    45
    Views
    10,556

    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...
  20. Replies
    45
    Views
    10,556

    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...
  21. Replies
    6
    Views
    3,785

    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.
  22. Replies
    6
    Views
    3,785

    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. ...
  23. Replies
    7
    Views
    1,818

    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...
  24. Replies
    7
    Views
    1,818

    Re: 26K80 Configuration and Port C 0, 1

    Actually I was wrong again it is pin compatible and working ok now.
  25. Replies
    45
    Views
    10,556

    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
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4