So i have to program this pic16f88 to operate a train and this train has to
1) commute between 3 stations
2)has to take no more than 10 secs to get to each station
3) when it gets to one station it has to stop for 3 secs and at the other station it has to stop for 5 secs
4)There are sensors at each station to detect the train
5)if the train has not arrived at a station within 10 secs a fault indicator(l.e.d)is activated which displays the particular section of track that the train is on.
6)it should include a master reset button
7)an emergency stop button
8)and a resume button.
Coul some one give me the source code for it.......please......