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 5 matches
CCS Forum Index
Author Message
  Topic: RS232 sending variable
rookiee

Replies: 5
Views: 13542

PostForum: General CCS C Discussion   Posted: Mon Sep 09, 2019 9:39 am   Subject: RS232 sending variable
I would also like to ask how to sending multiple variables using rs232 with two pic.
For example my transmitter side are constantly sending the sensor values.

//Transmitter
void main()
...
  Topic: Timer1 using 32kHz external crystal
rookiee

Replies: 8
Views: 18234

PostForum: General CCS C Discussion   Posted: Mon Sep 02, 2019 10:57 pm   Subject: Timer1 using 32kHz external crystal
Post a list of the crystals that you have connected to your PIC, and
the pins that they are connected to. Post the frequency of each crystal.
Look on the crystal package with a magnifier, if neces ...
  Topic: Timer1 using 32kHz external crystal
rookiee

Replies: 8
Views: 18234

PostForum: General CCS C Discussion   Posted: Mon Sep 02, 2019 9:55 pm   Subject: Timer1 using 32kHz external crystal
If you have an external crystal, then you need CRYSTAL=16MHz.

Before trying to use the interrupt, prove you have a working chip, running
at the clock speed expected:


#include <16F15376.h&g ...
  Topic: Timer1 using 32kHz external crystal
rookiee

Replies: 8
Views: 18234

PostForum: General CCS C Discussion   Posted: Mon Sep 02, 2019 4:48 am   Subject: Timer1 using 32kHz external crystal
65535, is the maximum count that the timer can hold. It's next count is
0 and the interrupt will occur. So just one count later the interrupt will occur.

Now, have you done a simple test to verify ...
  Topic: Timer1 using 32kHz external crystal
rookiee

Replies: 8
Views: 18234

PostForum: General CCS C Discussion   Posted: Sat Aug 31, 2019 10:07 am   Subject: Timer1 using 32kHz external crystal
Hi everyone, I am planning to use the 32k external crystal for timer1 to keep a low power and provide a more accurate clock. However, I encounter some problem in my code and looking for some advice. I ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group