I am in 100 percent agreement with @jremington who points out the path to really being able to make these small machines do what we want when we want it.
On the other hand, at the level of coding you've managed to teach yourself you may enjoy seeing and figuring out how a crude but effective hack might be what you need to accomplish your current goal and get out to play with your toy.
Start here and read up and down the thread:
Again, not the crutch you wanna walk around needing for the rest of your life, just a demo of how things can be done when you must or don't know better, yet.
HTH
a7