Let's Make Robots!


Pic simulation and debugging

I've had a university assigment using a pic and had a bit of a trouble to find an easy way to program and simulate for the 16F628A.

So I made this small video tutorial using Mikrobasic, Proteus and MPLAB.
You'll need this:

MikroBasic - http://www.mikroe.com/eng/products/view/9/mikrobasic-pro-for-pic/

ISIS - http://www.labcenter.com/download/prodemo_download.cfm

Line Follower Robot using a PIC18F252 microcontroller

I am using C Programming to program a PIC18F252 microcontroller chip that allows a robot to follow a line then change directions in different direction on each end and also senses blockage and goes back. This is my code wich at the moment is giving me problems allowing the robot to change directions in different directions and sense blockage...can anyone see where i am going wrong and help out?????????


#include <p18F252.h>