Author Topic: PIC 16F  (Read 1623 times)

0 Members and 1 Guest are viewing this topic.

Offline coronabotTopic starter

  • Jr. Member
  • **
  • Posts: 9
  • Helpful? 0
PIC 16F
« on: July 30, 2011, 12:07:12 AM »
I want to build some squares waves with my PIC 16F
How I can do it?
« Last Edit: August 08, 2011, 08:41:16 AM by coronabot »

Offline corrado33

  • Supreme Robot
  • *****
  • Posts: 611
  • Helpful? 11
Re: PIC 16F
« Reply #1 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). 

 


Get Your Ad Here