Hein (fub) wrote,

  • Mood:


After some experimentation, I have found that a delay-loop counting backwards from 127 to 0 is enough delay between changes in the clock line to reliably send a byte from one PIC to the other. This means that I could use the Timer-overflow-interrupt to send the individual bits -- two overflows per bit.
This means that I could (theoretically) send 244 bytes per second on to the next PIC. Sure, 244 baud is horribly slow for any sort of high-throughput data, but it is more than enough for my purposes. I think I would only need to send two bytes per 'light' that enters the next display segment, and there won't be a hundred of 'lights' travelling at such speeds that they will cross over into the next segment within a second.

I am pleased.
Tags: electronics project, random led rail

  • Supergeil

    I can’t stop thinking about this German supermarket commercial of six years ago. Especially since in German the slang term…

  • Make a dungeon together!

    Over on RPGGeek, there’s a fun thread to make a dungeon together. Someone selected a dungeon map, divided it into rooms/areas and invited the…

  • D&D best practice: Homebrewery

    Dungeons & Dragons is a game that rewards "system mastery": if you know the rules well, you will do 'better' at the game. (With 'better' being…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded