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 10 matches
CCS Forum Index
Author Message
  Topic: reset_cpu() question
Setna

Replies: 7
Views: 12330

PostForum: General CCS C Discussion   Posted: Wed Jan 07, 2009 5:07 pm   Subject: reset_cpu() question
I'm going to try using the restart_cause() function. Thanks Charlie U.

PCM Programmer,

If I'm understanding you correctly, you want me to have the PIC trigger the start of the transmitter. I h ...
  Topic: reset_cpu() question
Setna

Replies: 7
Views: 12330

PostForum: General CCS C Discussion   Posted: Wed Jan 07, 2009 3:20 pm   Subject: Clarification
Here is a sample code that will run in an infinite loop. I would like the the reset to only occur once.


int main()
{

int FirstPowerUp = 0;

delay_ms(5000);
...
  Topic: reset_cpu() question
Setna

Replies: 7
Views: 12330

PostForum: General CCS C Discussion   Posted: Wed Jan 07, 2009 12:37 pm   Subject: reset_cpu() question
Hey,

I was wondering if there is a way to have the PIC reset itself once about 5 seconds after the program starts. I believe the above function is what I need to use, but I keep getting infinite l ...
  Topic: Digital Pot Problem
Setna

Replies: 4
Views: 4751

PostForum: General CCS C Discussion   Posted: Tue Aug 19, 2008 10:40 am   Subject: Digital Pot Problem
Thanks very much Ttelmah. That fixed the problem. Also, I was wondering if you know of an SPI tutorial. I have only used it once before and have never completely understood the timing diagrams. If ...
  Topic: Digital Pot Problem
Setna

Replies: 4
Views: 4751

PostForum: General CCS C Discussion   Posted: Tue Aug 19, 2008 10:05 am   Subject: Digital Pot Problem
Found my error, simple typo in spi_write. Supposed to be spi_write2.
  Topic: Digital Pot Problem
Setna

Replies: 4
Views: 4751

PostForum: General CCS C Discussion   Posted: Tue Aug 19, 2008 8:50 am   Subject: Digital Pot Problem
Hi,

I'm trying to control 4 AD5160 digital pots the PIC18F6722 development board. I have them daisy chained and trying to get them to just run a loop changing the resistance. Currently I have a v ...
  Topic: Kill Switch Question
Setna

Replies: 2
Views: 3370

PostForum: General CCS C Discussion   Posted: Mon Jun 30, 2008 11:13 am   Subject: Kill Switch Question
Hi,

I'm using a PIC18F6722 and I'm looking for a simple way to make a remote kill switch. The PIC itself is going to be sealed in watertight capsule and attached to a remote control submarine that ...
  Topic: Level Shifting Question
Setna

Replies: 4
Views: 5308

PostForum: General CCS C Discussion   Posted: Tue Jun 24, 2008 9:28 am   Subject: Level Shifting Question
Stewart,

Thanks for all your help.

Setna
  Topic: Level Shifting Question
Setna

Replies: 4
Views: 5308

PostForum: General CCS C Discussion   Posted: Tue Jun 24, 2008 9:18 am   Subject: Level Shifting Question
Stewart,

I have checked the TTL port and it is at 5V. I guess now my question is, should I use #USE RS232 in my code or setup_uart()?

Also, if I'm understanding correctly, the UART Chip sends ...
  Topic: Level Shifting Question
Setna

Replies: 4
Views: 5308

PostForum: General CCS C Discussion   Posted: Tue Jun 24, 2008 8:29 am   Subject: Level Shifting Question
Hi,

I'm using the PIC18F6722 Prototyping Board and trying to connect to a CMUCAM3 using a TTL serial port on the camera. I believe that TTL works up to 5V where the RS-232 outputs up to 12V. Do I ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group