Tell us about yourself!
DIY Soldering Station With ...View Instructable »
I don't really remember the actual code already, but i think the timer is to check the accelerometer in a timely manner. you can modify the blocks to fit your application. I check the accelerometer to be less than -2 or more than 2 to provide a dead zone of 4 i.e. -2 to 2 the car wont move. this is because its hard for our hand to hold the phone exactly at value of 0. If you set the condition to be >0 or <0. It will be very sensitive that when u slightly move the phone a bit, the car will move.
I think you can go through the basic tutorial on MIT app inventor on their website. Now there is newer version, MIT app Inventor 2 which is even better
Make PVC Look Like Wood