Tell us about yourself!

Complete Your Profile
  • navanod commented on Asier Marzo's instructable Acoustic Tractor Beam3 months ago
    Acoustic Tractor Beam

    In case you made a version with the buttons and noticed that the animation seemed to roll over and reset the -- direction which makes the ball move up then here is a possible solution.Firstlyif( frame < 0 ) { frame = 0;}Which takes (frame) which is an static byte and cannot be less than 0(Frame) needs to be another type of variable. I used Int and it worked like a charm.Be warned I tested this on a scope but not on one of the devices. It looks all good to me though.

    View Instructable »