hi there,
im currently working on a system to work out the lenght of a vehicle using two sensors.
im using the pic 16f84a microcontroller and have the sensors communicating with the pic.
im using the picbasic pro compiler to program with.
i need to start a clock at 0 and take readings when each sensor is made and unmade. with these values i can i can work out the lenght given a defined distance between sensors.
i cant find anything on just a simple timer online hence im posting here.
i am aware that the pic 16f84a is slightly outdated but its all i have to work with at the mo.
any help on this matter would be greatly appreciated.
im currently working on a system to work out the lenght of a vehicle using two sensors.
im using the pic 16f84a microcontroller and have the sensors communicating with the pic.
im using the picbasic pro compiler to program with.
i need to start a clock at 0 and take readings when each sensor is made and unmade. with these values i can i can work out the lenght given a defined distance between sensors.
i cant find anything on just a simple timer online hence im posting here.
i am aware that the pic 16f84a is slightly outdated but its all i have to work with at the mo.
any help on this matter would be greatly appreciated.