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 206 matches
CCS Forum Index
Author Message
  Topic: A real stupid problem
bungee-

Replies: 3
Views: 5120

PostForum: General CCS C Discussion   Posted: Mon Oct 03, 2011 6:14 pm   Subject: A real stupid problem
Look at the datasheet again on page 42. There is a line on page 41 The RA4/T0CKI pin is a Schmitt Trigger input and an open-drain output. pay attention on underlined text Wink

I had the similar ...
  Topic: HELP:: i do not know how to deal with AT command
bungee-

Replies: 22
Views: 21707

PostForum: General CCS C Discussion   Posted: Mon Oct 03, 2011 5:35 pm   Subject: HELP:: i do not know how to deal with AT command
Start first with:

#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8,stream=PORT1)

And then with something like:
printf("AT");

And finally you have to catc ...
  Topic: PWM module as square freq generator
bungee-

Replies: 2
Views: 4995

PostForum: General CCS C Discussion   Posted: Mon Oct 03, 2011 5:22 pm   Subject: PWM module as square freq generator
Thank you for your answer. And yes basic concept is good and it actually work.

But (yes there is an but), I'm not satisfied with output accuracy. Problem is with my method of elimination for pres ...
  Topic: PWM module as square freq generator
bungee-

Replies: 2
Views: 4995

PostForum: General CCS C Discussion   Posted: Sun Oct 02, 2011 4:19 pm   Subject: PWM module as square freq generator
Hi!

I need sanity check in this function. (I have no hardware yet, but I'm writing the code in advance.)

What I want to achieve is to simply pass the required frequency to the function and funct ...
  Topic: Capacitor value for 18F4520's 40Mhz Crystal value
bungee-

Replies: 7
Views: 10017

PostForum: General CCS C Discussion   Posted: Sat Jul 10, 2010 7:49 am   Subject: Capacitor value for 18F4520's 40Mhz Crystal value
I usually put 12pF capacitors there. But It should be tested for yor application.
On other hand, you could use [url=http://export.farnell.com/ael-crystals/c40m000000l001/resonator-ztt-40mhz/dp/14481 ...
  Topic: Zero crossing detector problem
bungee-

Replies: 6
Views: 6233

PostForum: General CCS C Discussion   Posted: Mon Jul 05, 2010 2:57 pm   Subject: Zero crossing detector problem
Why don't you use opto-coupled triac driver with zero cross detection like MOC3061.

All problems with cross detection are solved and you have only to deal with the logic part of problem. :w ...
  Topic: high and low nibble
bungee-

Replies: 18
Views: 18988

PostForum: General CCS C Discussion   Posted: Sun Jul 04, 2010 4:33 pm   Subject: high and low nibble
Here [url=http://melabs.com/resources/articles/ledart.htm]LINK you'll get the idea how to connect 7 segment led displays.

And look at here: http://www.ccsinfo.com/forum/viewtopic.php?t=39731
  Topic: I2C master - slave communication
bungee-

Replies: 4
Views: 7455

PostForum: General CCS C Discussion   Posted: Sun Jul 04, 2010 4:22 pm   Subject: I2C master - slave communication
Thank you for that and rapid response! Cool
  Topic: I2C master - slave communication
bungee-

Replies: 4
Views: 7455

PostForum: General CCS C Discussion   Posted: Sun Jul 04, 2010 1:39 pm   Subject: I2C master - slave communication
I bow to the master!
Thank you ... as I said I was caught in a loop.

Do you have a good title to read about I2C spec?
  Topic: I2C master - slave communication
bungee-

Replies: 4
Views: 7455

PostForum: General CCS C Discussion   Posted: Sun Jul 04, 2010 1:07 pm   Subject: I2C master - slave communication
Hi all!

I'm trying to communicating between two PIC's with I2C protocol and I'm having troubles...

Circuit is simple as it is could be. Two PIC16F886 each have LCD connected on portB, SCL and SD ...
  Topic: Two way communication via USB on 18f2455
bungee-

Replies: 6
Views: 6299

PostForum: General CCS C Discussion   Posted: Tue Jun 29, 2010 12:08 pm   Subject: Two way communication via USB on 18f2455
Are you deliberately using USB HID mode? Why don't you use CDC mode?
  Topic: 18f4550+barcode reader
bungee-

Replies: 3
Views: 4642

PostForum: General CCS C Discussion   Posted: Sat Jun 19, 2010 12:55 pm   Subject: 18f4550+barcode reader
If you don't want to bother yourself and uC with USB communication, then it is easier to take some of UART<->USB chips available and let them do all the work around USB stack etc.

Now here is ...
  Topic: OT: Sanity check
bungee-

Replies: 12
Views: 8192

PostForum: General CCS C Discussion   Posted: Thu May 27, 2010 12:22 pm   Subject: OT: Sanity check
bkamen: Neither...

I'm working on digital workbench power supply. It will be two channel that will be electrically separated, so you can then connect them together for dual operation. One PIC will ...
  Topic: OT: Sanity check
bungee-

Replies: 12
Views: 8192

PostForum: General CCS C Discussion   Posted: Thu May 27, 2010 10:43 am   Subject: OT: Sanity check
Thank's for all replies. I'll test I2C and uart and I'll see the results. Thank you for this brainstorm. Cool
  Topic: OT: Sanity check
bungee-

Replies: 12
Views: 8192

PostForum: General CCS C Discussion   Posted: Tue May 25, 2010 12:04 pm   Subject: OT: Sanity check
Thank's for reminder....

Data from slaves will be sent twice per second, packet will be 8bytes long, communication speed will probably be 28kbps. I didn't consider SPI or I2C because PIC's will be ...
 
Page 1 of 14 Goto page 1, 2, 3 ... 12, 13, 14  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group