Have you been here? http://www.parallax.com/html_pages/d...curriculum.asp

Look at "Basic Analog and Digital"

PBASIC is not to much different PBP, the code examples will need modified, the main thing this article is good for is theory and ideas.