It's difficult to provide locomotion code without knowing what motor controller you are using. Most of them have different commands.
I'm building a Lynxmotion Rover, http://www.richardvannoy.info/rover.php
and What I'm doing is testing each thing, one at a time.
My plan is to test sound, the Ping Sensor, The Sharp GP2D12 IR sensors, then the motor controller in that order. For example, here is my sound test code which should work on your board with no hardware or modifications.
; A program to test the piezo speaker on the BasicATOM Pro 28
; On this board, Pin 9 is hardwired to the speaker, so this
; requires no wiring or components.
freq var word ; The frequency to send to the speaker. Word is
; used to allow numbers up to 65,535.
for freq = 500 to 10000 step 500
sound P9, [1000\freq] ;step through the frequencies
; P9 = Pin 9, the output to the speaker
; 1000 = duration = 1000 milliseconds or one second
; freq = The frequency sent to the speaker
; After running the code above, the three frequencies
; 1500, 4000 and 5000 seemed clearest and loudest, so
; these three wil be the foundation for the rover's
; audio inventory. Here is one second of each:
sound P9, [1000\1500]
sound P9, [1000\4000]
sound P9, [1000\5000]