Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 29th October 2009, 10:00 AM   #1
Default PWM on PIC12F615

Hi,
On PIC12F615, lets say i set CCP1M<3:0> to 1100 (PWM mode; P1A active-high; P1B active-high) to use PWM. If I set P1ASEL = 0, can I use use GP5 and GP0 as individual IO?
I'm worried that GP0 will give me a PWM because GP0 and P1B are the same pin and I set both P1A and P1B as active High.

What I'm trying to do is to use 2 ADC channel (AN1 and AN3), 1 PWM channel (P1A) and 2 Output pin (GP0 and GP5) on PIC12F615.
Is that possible..?

Thanks.
MrNobody is offline  
Old 30th October 2009, 12:06 PM   #2
Default

Quote:
Originally Posted by MrNobody View Post
What I'm trying to do is to use 2 ADC channel (AN1 and AN3), 1 PWM channel (P1A) and 2 Output pin (GP0 and GP5) on PIC12F615.
Is that possible..?

Thanks.
Of course you can.
__________________
Gayan

My Website
http://gsmicro.blogspot.com/
Gayan Soyza is offline  
Reply

Tags
pic, pwm

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
PWM to 0-5V and more... Gibelgab Electronic Projects Design/Ideas/Reviews 11 26th August 2009 08:10 PM
Pwm Angy Micro Controllers 10 30th April 2009 08:24 PM
Hardware PWM or Software PWM Overclocked Micro Controllers 3 20th February 2009 08:55 AM
pwm? hjl4 General Electronics Chat 11 9th October 2005 08:33 PM
PWM noname Electronic Projects Design/Ideas/Reviews 3 22nd January 2005 12:21 PM



All times are GMT. The time now is 04:56 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker