Pirate Game edits, with Servo + Piezo

(video demonstrates different Piezo tones and ‘servoWiggle’ movement. altered the function to center the Servo – ‘myservo.write(90);’ – once the other Wiggle movements were finished)

here’s the code:

A huge challenge with code that is being amended / increasing in complexity is maintaining organization and relative simplicity in the code’s structure. Trying not to add redundancy / confusion. Particularly in this case when trying to consolidate the more complex Piezo tone patterns.

Leave a Reply

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