psecody
Member
So I was going to start tinkering with building a robot just to try to understand various pic things I don't quite grasp. I'm using the easyPIC4 with MikroC and a PIC18F2450. I was planning on simply building a chassis with 2 servos for differential drive but after trying to figure out how to send pwm signals I realized I need to send two separate signals, one for each servo. My problem is the 2450 only has 1 ccp pin so I was wondering how I could either send signal to both servos from that one pin or how could I use two other I/O pins to send out pwm. I don't really 100% get how to do pwm though I've read a ton of tutorials they are all pretty much how to control 1 servo so they don't really apply here. So if anyone could help to explain kind of how this works I would appreciate it. Thanks again.