My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
TribotTestCode  

Test Code for the Tribot

Introduction

Below are the test code details for the Tribot

Details

I've writtten some test code for the Tribot (uploaded to the repository). It's just basic test code in a class with a main method, nothing special at the moment.

For the Ultrasonic sensor we have an output to the screen based on readings taken from the surrounding environment.

For the Touch sensor, whilst the sensor is pressed again an output to the screen and same for the colour sensor whilst a reading can be detected an output is displayed to the LCD screen on the brick.

For the motors, the results are physically visible so it's a combination of forward and backwards movement with output to the screen.

Powered by Google Project Hosting