I am a beginner. The robot that I’m trying to make, to be controlled by a Philips TV remote that uses RC5 protocol. I have managed to make the schematic of the robot (In Orcad). Please see attachment. I’m using a “PIC18F542” Microcontroller and “tsop1238” IR Receiver.
The robot to,
1. Go front
4. Turn Left
5. Turn Right
I will use 2 DC gear motors for these purposes (which will be controlled by PWM).
But I’m struggling with the code to be written in “C18” for the microcontroller. Expecting some bodies help. Thank you in advance.