A nested subroutine code structure lends itself well to the light saber project.

By Julian

Youtuber, shed dweller, solar charge controller aficionado

12 thoughts on “Light saber pic assembly code structure”
  1. Avataaar/Circle Created with python_avatars Peter Wilson says:

    When are you going to do this again we haven't seen the completed result

  2. Avataaar/Circle Created with python_avatars KX36 says:

    O_O'''

  3. Avataaar/Circle Created with python_avatars Hill's Workbench says:

    This might make a good POV wand, now there's a programming challenge.

  4. Avataaar/Circle Created with python_avatars Laziter73 says:

    Youtube.. The only place where you can get away with flipping the finger when explaining stuff ๐Ÿ˜€
    Love your channel, very informative and inspiring. You make me do lots of funny stuff with electronics ๐Ÿ™‚

  5. Avataaar/Circle Created with python_avatars chillzwinter says:

    That light saber is far to slow. Studies estimate the speed of the light saber extend time to be in the order of 100ms to 150ms. Hmmmm – all this coding / work for 100ms of entertainment. You should have used an arduino – decimated your lines of code decimated your dev time and decimated your extend time.

  6. Avataaar/Circle Created with python_avatars Alan Powell says:

    The Force is strong in this one.

  7. Avataaar/Circle Created with python_avatars Akarsh Agarwal says:

    I don't understand PIC coding and all those syntax's and what Jullian does with the PIC. can someone help me with some tutorials where I can learn it from scratch?

  8. Avataaar/Circle Created with python_avatars Steve Hodge says:

    Why use hexadecimal (0x20) for the led counter? Can't you just use a decimal constant (32)?

  9. Avataaar/Circle Created with python_avatars Ted van Matje says:

    Julian, use the red leds you must and join the dark side ๐Ÿ˜‰

  10. Avataaar/Circle Created with python_avatars Barry "BloodyL" Cartwright says:

    Thank you Julian, you've completely reminded me of my assembly days, the instinct to critique your code is overwhelming!.
    You said it yourself though… 50k subroutine calls with two free nops in every call, certainly not optimized!

  11. Avataaar/Circle Created with python_avatars Jack Mccafferty says:

    hi julien could you try to control b3603 or b3606 from arduino either via serial or directly so then you could make a better bench psu

  12. Avataaar/Circle Created with python_avatars bowzertyui X says:

    That's why almost all programming languages allow you to comment your code.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.