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: 16f628a dimmer, simple problem
Grimmjow

Replies: 2
Views: 5968

PostForum: General CCS C Discussion   Posted: Wed Jul 29, 2009 5:03 am   Subject: 16f628a dimmer, simple problem
I don't think the root of the problem is hardware.

I said that however this was not true... Embarassed I had connected the pull-up resistor to the wrong side of the button. So, code was correct and i ...
  Topic: 16f628a dimmer, simple problem
Grimmjow

Replies: 2
Views: 5968

PostForum: General CCS C Discussion   Posted: Tue Jul 28, 2009 10:51 am   Subject: 16f628a dimmer, simple problem
Hi there!!

Here is the code:

#include <16f628a.h>
#fuses INTRC_IO,NOPUT,NOWDT,NOPROTECT,NOLVP,NOBROWNOUT,NOMCLR
#use delay (clock=4M)

void main(){

int inc = ...
  Topic: problem w/ ltc2440 A/D and pic16f877 interface
Grimmjow

Replies: 13
Views: 29690

PostForum: General CCS C Discussion   Posted: Tue Apr 21, 2009 6:46 am   Subject: problem w/ ltc2440 A/D and pic16f877 interface
I started to doubt that simulator has bug with the ltc2440 model. So, i tried pretty much the same code with ltc1864(16-bit ADC with spi).

Code is as follows:

#include <16f877.h>
#fuses X ...
  Topic: problem w/ ltc2440 A/D and pic16f877 interface
Grimmjow

Replies: 13
Views: 29690

PostForum: General CCS C Discussion   Posted: Fri Apr 17, 2009 4:33 pm   Subject: problem w/ ltc2440 A/D and pic16f877 interface
Ok; thanks a lot for your effort...

If(or when) I solve the problem; I will post it for the next generations Laughing
  Topic: problem w/ ltc2440 A/D and pic16f877 interface
Grimmjow

Replies: 13
Views: 29690

PostForum: General CCS C Discussion   Posted: Fri Apr 17, 2009 2:30 pm   Subject: problem w/ ltc2440 A/D and pic16f877 interface
I did exactly what you said. BTW; yes Vcc is set to 5V.

Here are the results:

037E0F78
077E1F78
077C1F70
0F783F62
1F787F66
1F717F46
1F637F0E
1F637E1E
1F477C1E
1F0F7C3E
1E1F787E
1C1F71 ...
  Topic: problem w/ ltc2440 A/D and pic16f877 interface
Grimmjow

Replies: 13
Views: 29690

PostForum: General CCS C Discussion   Posted: Fri Apr 17, 2009 11:46 am   Subject: problem w/ ltc2440 A/D and pic16f877 interface
Some of the values are:

02415C44
22415C04
22015C04
22015844
20015044
20414044
20414444
22410C44
22400C40
02401C40

After this sequence, it starts all over again. This is for Vin=0.21V fo ...
  Topic: problem w/ ltc2440 A/D and pic16f877 interface
Grimmjow

Replies: 13
Views: 29690

PostForum: General CCS C Discussion   Posted: Fri Apr 17, 2009 9:44 am   Subject: problem w/ ltc2440 A/D and pic16f877 interface
Here is the version:

http://i24.photobucket.com/albums/c43/maelstromb/version.jpg
  Topic: problem w/ ltc2440 A/D and pic16f877 interface
Grimmjow

Replies: 13
Views: 29690

PostForum: General CCS C Discussion   Posted: Thu Apr 16, 2009 5:51 pm   Subject: problem w/ ltc2440 A/D and pic16f877 interface
First of all, thanks for the explanation about the BUSY pin...Things are a bit more clear now..

You are using a simulator, so we don't know if the simulator has
bugs in the LTC2440 simulation.
...
  Topic: problem w/ ltc2440 A/D and pic16f877 interface
Grimmjow

Replies: 13
Views: 29690

PostForum: General CCS C Discussion   Posted: Thu Apr 16, 2009 12:34 pm   Subject: problem w/ ltc2440 A/D and pic16f877 interface
First of all, thanks for the quick reply Smile

I did everything that you said to me PCM programmer...My new code looks like;

#include <16f877.h>
#fuses XT,NOPUT,NOWDT,NOPROTECT,NOLVP,BROWNO ...
  Topic: problem w/ ltc2440 A/D and pic16f877 interface
Grimmjow

Replies: 13
Views: 29690

PostForum: General CCS C Discussion   Posted: Wed Apr 15, 2009 12:12 pm   Subject: problem w/ ltc2440 A/D and pic16f877 interface
Hi there!!

I'm dealing w/ how to interface the ltc2440 A/D w/ pic16f877 by using the spi commands. I cannot find what's wrong w/ my code and I'm dealing with it for almost two full days Twisted Evil ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group