Author |
Message |
Topic: Loop problem |
assimhussain
Replies: 3
Views: 5499
|
Forum: General CCS C Discussion Posted: Fri Aug 12, 2011 4:27 am Subject: Loop problem |
Thankx
I didn't notice it. I was trying to use other loops and end up in some other problem, and came to conclusion that 'there is some problem with my loops'.
Huh.. hw stupid ..
T ... |
Topic: Loop problem |
assimhussain
Replies: 3
Views: 5499
|
Forum: General CCS C Discussion Posted: Fri Aug 12, 2011 2:40 am Subject: Loop problem |
I have a strange problem with loop..
for the code below the program does not pick the while loop.. I tried to run in debug mode with animation n the arrow stops at step }while(1);
... |
Topic: Frequency/Time period measurement with PIC16F917. |
assimhussain
Replies: 11
Views: 20273
|
Forum: General CCS C Discussion Posted: Thu Aug 11, 2011 6:52 am Subject: Frequency/Time period measurement with PIC16F917. |
I'm using pin B0 itself.
Can I ask you a different question... maybe a stupid one.
Whenever I try to use the registers in CCS directly like we do in Hi-tech complier rather than using functions ... |
Topic: Frequency/Time period measurement with PIC16F917. |
assimhussain
Replies: 11
Views: 20273
|
Forum: General CCS C Discussion Posted: Wed Aug 10, 2011 9:36 am Subject: Frequency/Time period measurement with PIC16F917. |
Do I need to make any other connections that other than xmit=PIN_B1, rcv=PIN_B0, and input ? |
Topic: Frequency/Time period measurement with PIC16F917. |
assimhussain
Replies: 11
Views: 20273
|
Forum: General CCS C Discussion Posted: Wed Aug 10, 2011 3:22 am Subject: Frequency/Time period measurement with PIC16F917. |
yes its compiled without any errors... but i couldnt make the display work.. so cant say if the program is working... |
Topic: Frequency/Time period measurement with PIC16F917. |
assimhussain
Replies: 11
Views: 20273
|
Forum: General CCS C Discussion Posted: Tue Aug 09, 2011 4:28 am Subject: Frequency/Time period measurement with PIC16F917. |
At normal operation the encoder waveform gives about 40-50 Hz and in my control system I planned to adjust the PWM given to motor when it goes down.
Yes. I managed to run the LCD program. Its working ... |
Topic: Frequency/Time period measurement with PIC16F917. |
assimhussain
Replies: 11
Views: 20273
|
Forum: General CCS C Discussion Posted: Mon Aug 08, 2011 7:22 am Subject: Frequency/Time period measurement with PIC16F917. |
I tried your program on this topic..
http://www.ccsinfo.com/forum/viewtopic.php?t=41877&highlight=guitar
Could you please tell me which all connections need to be made (LCD n other) to run the ... |
Topic: Frequency/Time period measurement with PIC16F917. |
assimhussain
Replies: 11
Views: 20273
|
Forum: General CCS C Discussion Posted: Mon Aug 08, 2011 6:36 am Subject: Frequency/Time period measurement with PIC16F917. |
Hi. Thanks for your reply.
I use Mechatronics PICDEM Demo board
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en023837
I really don't know about t ... |
Topic: Frequency/Time period measurement with PIC16F917. |
assimhussain
Replies: 11
Views: 20273
|
Forum: General CCS C Discussion Posted: Fri Aug 05, 2011 7:25 am Subject: Frequency/Time period measurement with PIC16F917. |
Hi. I am trying make a closed loop speed controller system. I'm struggling to measure the frequency/time period from optical encoder.
I tried to measure the time period using CCP1.
This program gi ... |
|