Society of Robots - Robot Forum

Software => Software => Topic started by: coronabot on July 30, 2011, 12:07:12 AM

Title: PIC 16F
Post by: coronabot on July 30, 2011, 12:07:12 AM
I want to build some squares waves with my PIC 16F
How I can do it?
Title: Re: PIC 16F
Post by: corrado33 on July 30, 2011, 10:31:32 AM
Well, the way I generate square waves is usually with PWM, but it's highly unlikely that all 13 ports are PWM ports.  With that said, I'm sure you could just run a timer and turn the output high and low when the counter gets to a certain number.

Now, since this sounds like an assignment, I'll let you figure out how to do that (it's really easy).