CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 29 matches
CCS Forum Index
Author Message
  Topic: emulator quadrature encoder
volcane

Replies: 5
Views: 10315

PostForum: General CCS C Discussion   Posted: Mon Aug 13, 2012 8:45 am   Subject: emulator quadrature encoder
Yes.

How easy it is, depends on the PIC.
Simplest way, use a PIC that supports two different timers for PWM.
Program the timers to give the required 1000Hz rate.
Program the two PWM's, onto the ...
  Topic: emulator quadrature encoder
volcane

Replies: 5
Views: 10315

PostForum: General CCS C Discussion   Posted: Mon Aug 13, 2012 8:24 am   Subject: emulator quadrature encoder
Hi,

you can generate two square waves with a PIC 1000 Hz out of phase with each other in advance or delay of 90 degrees?
  Topic: use of watch-dog
volcane

Replies: 4
Views: 4159

PostForum: General CCS C Discussion   Posted: Sat May 02, 2009 6:56 pm   Subject: use of watch-dog
I think it's a bad idea. What if your program is stuck in a loop for some
reason ? The timer interrupt would keep restarting the Watchdog Timer
and you would never get a Watchdog reset. Your co ...
  Topic: use of watch-dog
volcane

Replies: 4
Views: 4159

PostForum: General CCS C Discussion   Posted: Sat May 02, 2009 2:22 pm   Subject: use of watch-dog
Hi

can also do so #use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7, restart_wdt, ERRORS)

Thank you for the answers, but what do you think of using a timer interrupt to recharge the watch dog?
  Topic: use of watch-dog
volcane

Replies: 4
Views: 4159

PostForum: General CCS C Discussion   Posted: Sat May 02, 2009 7:33 am   Subject: use of watch-dog
Hi!

if i want to use the watch-dog functions blockers in type "void get_string (char * s, unsigned int8 max)" contained in "input.c" i have to change the function or there are o ...
  Topic: Reset RCREG
volcane

Replies: 6
Views: 9749

PostForum: General CCS C Discussion   Posted: Fri Apr 24, 2009 5:33 pm   Subject: Reset RCREG
Hi!

Post your PIC.

with this work:

#include <16F877a.h>
#include <apricancello_gsm.h>
#use delay(clock=20000000)
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7, ERRO ...
  Topic: Reset RCREG
volcane

Replies: 6
Views: 9749

PostForum: General CCS C Discussion   Posted: Fri Apr 24, 2009 3:33 pm   Subject: Reset RCREG
hi!

See the clear_usart_receiver() function in this post:
http://www.ccsinfo.com/forum/viewtopic.php?t=1571&start=3

if i use the program crashes, i think it is a problem with the USART:
...
  Topic: Reset RCREG
volcane

Replies: 6
Views: 9749

PostForum: General CCS C Discussion   Posted: Fri Apr 24, 2009 2:00 pm   Subject: Reset RCREG
Hi!

You can reset RCREG directly? or the system is this:

while(kbhit())
{
printf("the character is:%c", getc());
}
  Topic: usart 16F877A
volcane

Replies: 2
Views: 6226

PostForum: General CCS C Discussion   Posted: Sun Apr 19, 2009 4:07 pm   Subject: usart 16F877A
Hi!

thanks

without you i do not know how to do :-)
  Topic: usart 16F877A
volcane

Replies: 2
Views: 6226

PostForum: General CCS C Discussion   Posted: Sun Apr 19, 2009 3:46 pm   Subject: usart 16F877A
Hi!

I am using a PIC16F877A, as possible checking RCIF? as you are reading RCREG?
  Topic: string modem Gm862 Telit
volcane

Replies: 7
Views: 7187

PostForum: General CCS C Discussion   Posted: Sun Apr 12, 2009 4:46 pm   Subject: Re: string modem Gm862 Telit
Hi!
+CLIP: "+3933812345678",145,"",128,"Giacomo" //is in the phone book

the string is wrong with the modem gm862 puts an end 0


+CLIP: "+3933812345678& ...
  Topic: Bug EX_STR.C
volcane

Replies: 4
Views: 6131

PostForum: General CCS C Discussion   Posted: Sun Apr 12, 2009 4:44 pm   Subject: Bug EX_STR.C
Hi!

Thanks for the information, I believe that in the future I will use the ISR.
  Topic: Bug EX_STR.C
volcane

Replies: 4
Views: 6131

PostForum: General CCS C Discussion   Posted: Sun Apr 12, 2009 3:22 pm   Subject: Bug EX_STR.C
Hi!

Working!!!

I wanted to add: the compiler shows a message Warning: variable never used: rs232_errors

Thanks
  Topic: Bug EX_STR.C
volcane

Replies: 4
Views: 6131

PostForum: General CCS C Discussion   Posted: Sun Apr 12, 2009 2:46 pm   Subject: Bug EX_STR.C
Hi!

I'm using the development board CCS with 16f877A i uploaded example EX_STR.C

working normally, but when i pressed the enter key on the keyboard without releasing, the program on the PIC (EX_ ...
  Topic: measure frequency prescaler
volcane

Replies: 4
Views: 5927

PostForum: General CCS C Discussion   Posted: Thu Mar 26, 2009 2:35 pm   Subject: measure frequency prescaler
Thanks works perfectly
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group