Tag Archives: python driving lesson

Python while loops – Driving lesson #5

Pre-driving checks If you are here you should be able use an editor to write Python code to control  your Pi-Car and understand what we mean when we talk about constants, variables and print statements. If not by all means … Continue reading

Posted in Uncategorized, Under the bonnet | Tagged , , , , | Leave a comment

Python if else statements – Driving Lesson #4

Pre-driving checks If you are here you should be able use an editor to write Python code to control  your Pi-Car and understand what we mean when we talk about constants, variables and print statements. If not by all means … Continue reading

Posted in Uncategorized, Under the bonnet | Tagged , , , , | 2 Comments

Python variables and commenting – Driving Lesson #3

Pre-driving checks If you are here you should be able use an editor to write Python code to control  your Pi-Car. If not by all means have a go at this lesson but if you get stuck try Driving Lesson#1 … Continue reading

Posted in Under the bonnet | Tagged , , , , , | 3 Comments

Example Pi-Cars Python Code

This code will be incorporated into the Driving Lessons in due course but in the meantime here is some Python code that will work with your Pi-Car. How to get the code onto your Raspberry Pi and run it To … Continue reading

Posted in Under the bonnet | Tagged , , , , | 2 Comments

Introduction to Python, constants and print statements – Driving Lesson #2

Pre-driving checks If you are here you should have set up your Raspberry Pi,  understand how to connect your Pi-Car to your Raspberry Pi and know how to use IDLE or another editor to write Python code and run it. … Continue reading

Posted in Under the bonnet | Tagged , , , , , , , | 3 Comments

Pi-Cars and Python – Driving Lesson #1

Pre-driving checks If you are here you should have set up your Raspberry Pi and also understand how to connect your Pi-Car to your Raspberry Pi. If not don’t worry: For more information on setting up your Raspberry Pi click here. … Continue reading

Posted in Under the bonnet | Tagged , , , , | 4 Comments