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 33 matches
CCS Forum Index
Author Message
  Topic: timer1 too slow??
kloppy

Replies: 2
Views: 6618

PostForum: General CCS C Discussion   Posted: Fri Dec 03, 2004 10:30 am   Subject: timer1 too slow??
i want to produce a variable delay by using timer1 (i can't use delay_us)
i need to adjust the delay between about 20us and 500us

what i did is to preset timer1 with (0xFFFF-mydelay) and then let ...
  Topic: reset cause
kloppy

Replies: 4
Views: 9732

PostForum: General CCS C Discussion   Posted: Tue Oct 05, 2004 11:32 am   Subject: reset cause
ok thanks very much it was a stack overflow!!
  Topic: reset cause
kloppy

Replies: 4
Views: 9732

PostForum: General CCS C Discussion   Posted: Mon Oct 04, 2004 5:11 am   Subject: reset cause
hi
i have a program that works quite well. but sometimes it resets the processor (not regularly). i don't use the wdt(!) and the mclr pin is high all the time.
what else can cause a reset???


i ...
  Topic: SPI communication
kloppy

Replies: 8
Views: 21886

PostForum: General CCS C Discussion   Posted: Wed Sep 29, 2004 2:30 pm   Subject: SPI communication
what kind of lcd controller do you use?

i also used an lcd controller with spi and you need to consider a lot of things...
  Topic: How to calculation duration or time in ms for a function
kloppy

Replies: 3
Views: 9969

PostForum: General CCS C Discussion   Posted: Sat Sep 11, 2004 4:20 am   Subject: How to calculation duration or time in ms for a function
you can also set a pin at the beginning of your function and clear it at the end.
then you can measure the duration with a scope.
to find out how long it takes to set a pin should be no problem.
  Topic: LCD choices!
kloppy

Replies: 4
Views: 10390

PostForum: General CCS C Discussion   Posted: Wed Sep 08, 2004 12:24 pm   Subject: LCD choices!
i used a EA DIP204B-4NLW (blue/white)
with a KS 0073 controller on it. you can interface the LCD with SPI. i used a 16f876 to do that and it works fine
  Topic: connect 20 pics
kloppy

Replies: 17
Views: 18053

PostForum: General CCS C Discussion   Posted: Wed Sep 01, 2004 3:46 pm   Subject: connect 20 pics
what do you think about twisted pair connections?
  Topic: problem with const struct array
kloppy

Replies: 2
Views: 7150

PostForum: General CCS C Discussion   Posted: Wed Sep 01, 2004 7:58 am   Subject: problem with const struct array
1) 16f876
2) pcm 3.206
3) that's the max i'll ever use with this program (i took 15 just to be sure that data_name is not longer than 20 bytes)
  Topic: problem with const struct array
kloppy

Replies: 2
Views: 7150

PostForum: General CCS C Discussion   Posted: Wed Sep 01, 2004 1:12 am   Subject: problem with const struct array
is the constant struct array battery_dat{"data.........9","mAh",9,1,900,9},
char to_print[20];

typedef struct {
char data_name[20];
char unit ...
  Topic: connect 20 pics
kloppy

Replies: 17
Views: 18053

PostForum: General CCS C Discussion   Posted: Wed Sep 01, 2004 1:02 am   Subject: connect 20 pics
i have 20 steppermotor controllers in a scanner with a pic on each controller.
i thought about i2c but i worry if the distance is already too long.
  Topic: connect 20 pics
kloppy

Replies: 17
Views: 18053

PostForum: General CCS C Discussion   Posted: Tue Aug 31, 2004 2:56 pm   Subject: connect 20 pics
what is a good way to communicate with 20 pics? I need only one master and it hasn't to be fast. the distance between the first and the last pic ist between 0.5 an 1 meter
  Topic: the atoi() fuction?
kloppy

Replies: 3
Views: 11397

PostForum: General CCS C Discussion   Posted: Thu Aug 26, 2004 3:52 pm   Subject: the atoi() fuction?
Try this... (you have to put a char in the rx_buffer)

int result;
char rx_buffer[2];
rx_buffer[0]='5';
rx_buffer[1]='1';
result=atoi(rx_buffer); //result sh ...
  Topic: 2 software i2c and hardware spi
kloppy

Replies: 6
Views: 12023

PostForum: General CCS C Discussion   Posted: Wed Aug 25, 2004 4:46 am   Subject: 2 software i2c and hardware spi
is it possible to implement 2 software i2c and 1 hardward spi in a 16f876?
  Topic: communicating with li-ion battery
kloppy

Replies: 8
Views: 13820

PostForum: General CCS C Discussion   Posted: Wed Aug 11, 2004 12:19 am   Subject: communicating with li-ion battery
ok thanks, i'm gonna try that
  Topic: communicating with li-ion battery
kloppy

Replies: 8
Views: 13820

PostForum: General CCS C Discussion   Posted: Tue Aug 10, 2004 12:24 pm   Subject: communicating with li-ion battery
no, i'm trying to build an equipment that can measure the available capacity of a battery and find out how long the battery will work (approximately) in a laptop if it is full charged.
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group