Pseudo-code to indicate Baby’s first success in first walk

We were thinking about programming the shoes to light up when they reach certain number of steps.

That would be the baby’s success in its first walk. Hannah suggested us to have a rough idea in our own language of what the programming would do – pseudocode.

It went like this.

Firmstep = sensor value from 1 or 2 < 700

If next “Firmstep” delay < 2 seconds = 1 move

If in 11 inputs of sensor value, 10 “move” – it blinks

 

However the real programming takes much more logical, precise, and detailed command. Thanks to Hannah, she helped us along with the programming and it turned into reality.

Leave a Reply

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

 

Spam protection by WP Captcha-Free