thanks for the answer. As i said because of i really don't know how to program it .I should know the code. My question is what's the code?Simply cycling the output pin between HIGH and LOW would give you a square wave. PWM would be something different.
Hi, is this homework?
Show us the whole schematic, and tell us what you think you have to do, and what you have done.
Which PIC C compiler are you using?
Hi, is this homework?
Show us the whole schematic, and tell us what you think you have to do, and what you have done.
Which PIC C compiler are you using?
Thanks for the reply man. Can you suggest me any other sites that i can learn PIC ?If you are new, there is an Embedded Systems class on edx for free that teaches you the basics. The course already started, so not sure if you can join but all the materials are on their website. The following link talks about ports/pin so it might help you even though they are using a TM4C micro, the theory behind it is the same.
http://users.ece.utexas.edu/~valvano/Volume1/E-Book/C6_MicrocontrollerPorts.htm
make an interrupt using trm0 put tris RC1 =0 and the ints TMR0IE=1; GIE=1;This is rather a simple question.
I'm trying to generate a square wave by using PIC16F688. I'm using PIC C compiler and Proteus 7 .This is my microcontroller on Proteus :
View attachment 100014. So this might a basic question because i'm a newbie on pic programming. I hope someone help me out .
Thanks.
by Jeff Child
by Robert Keim
by Jake Hertz