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 18 matches
CCS Forum Index
Author Message
  Topic: where's the bug in this code?
nfs

Replies: 3
Views: 10987

PostForum: General CCS C Discussion   Posted: Fri May 21, 2004 9:23 am   Subject: where's the bug in this code?
sorry, i've a great problem with my code, it simulate successfully with ISIS simulator but when i wrote it to the PIC never seems to be right.
so if sone find the problem plz tell me

#include < ...
  Topic: read this please
nfs

Replies: 1
Views: 7278

PostForum: General CCS C Discussion   Posted: Fri May 14, 2004 9:55 am   Subject: read this please
hello ladies and gentelman;
i have a small program that i wish to repeat it four times but with others inputs and outputs so when i try to make a function and i try to pass output_high(pin_bx) or out ...
  Topic: how to pass "led" through function
nfs

Replies: 4
Views: 11786

PostForum: General CCS C Discussion   Posted: Wed May 12, 2004 2:04 am   Subject: re
i've to pass more than one led into function like this code:

#include <16F876.h>
/* Set configuration bits in the PIC processor */
#fuses XT, NOPROTECT, NOPUT, NOWDT, NOBROWNOUT, NOLVP, NOC ...
  Topic: how to pass "led" through function
nfs

Replies: 4
Views: 11786

PostForum: General CCS C Discussion   Posted: Tue May 11, 2004 10:12 am   Subject: re
i've changed this but no result
  Topic: how to pass "led" through function
nfs

Replies: 4
Views: 11786

PostForum: General CCS C Discussion   Posted: Tue May 11, 2004 9:44 am   Subject: how to pass "led" through function
#define led1 PIN_A1
#define led1 PIN_A2
#define led1 PIN_A3
#define tension_maxi_touche_0 34

void calcul (ledx,int16 tension_maxi_touche_x,int16 tension_mini_touche_x,int1 ledy,int1 ledz)
{. ...
  Topic: how to memorize?
nfs

Replies: 1
Views: 7257

PostForum: General CCS C Discussion   Posted: Fri May 07, 2004 4:08 am   Subject: how to memorize?
i have written the following program who's test voltage coming from an continual source. it works succesfully but i wish to make a cycle of the 4 tests and memorise every response one time living each ...
  Topic: non stop timer????
nfs

Replies: 1
Views: 7904

PostForum: General CCS C Discussion   Posted: Thu May 06, 2004 5:46 am   Subject: non stop timer????
i fixed the following timer to count 20000 times of 100�s the once
the timer still in function over the time configured.
what's the matter?


#include <16F876.h>
/* Set configuration bits ...
  Topic: sampling
nfs

Replies: 9
Views: 19204

PostForum: General CCS C Discussion   Posted: Tue May 04, 2004 8:38 am   Subject: hi
me too i search to resolve the same problem if you find a solution plz tell me thank you
  Topic: about timer_1 overflow and loop!!! plz help
nfs

Replies: 4
Views: 11771

PostForum: General CCS C Discussion   Posted: Tue May 04, 2004 8:27 am   Subject: re
this does not work. in fact i want that when i change voltage input a new acquisition takes place and i have a new response from led in output.
i've changed the time of acquisition to become 20s but ...
  Topic: about timer_1 overflow and loop!!! plz help
nfs

Replies: 4
Views: 11771

PostForum: General CCS C Discussion   Posted: Tue May 04, 2004 3:33 am   Subject: about timer_1 overflow and loop!!! plz help
i want to sample voltage during 2s so i set up timer_1 to interrupt every 100�s and set up a counter of 20000 which will cover the 2s.
i wrote this code but by simulation i changed voltage to view ho ...
  Topic: two timers in the same time? how may i do this
nfs

Replies: 4
Views: 11065

PostForum: General CCS C Discussion   Posted: Mon May 03, 2004 8:04 am   Subject: re
in this case i will use the timer_1 as a counter!!!!
  Topic: about ADC time acquisition
nfs

Replies: 2
Views: 9212

PostForum: General CCS C Discussion   Posted: Mon May 03, 2004 6:52 am   Subject: about ADC time acquisition
does the ADC can read a voltage every 100�s during 3s and give me the result? if nop what's the minimum acquisition time
  Topic: two timers in the same time? how may i do this
nfs

Replies: 4
Views: 11065

PostForum: General CCS C Discussion   Posted: Mon May 03, 2004 6:33 am   Subject: re
the source is the same but the problem is: how can i program the two timers to start on the same time?
  Topic: two timers in the same time? how may i do this
nfs

Replies: 4
Views: 11065

PostForum: General CCS C Discussion   Posted: Mon May 03, 2004 5:24 am   Subject: two timers in the same time? how may i do this
i want to trig two timers in the same time, what's the solution.
timer_1 to count 2 second and test therefore the input voltage if it changes or no. the second timer is the timer_2 who will sample th ...
  Topic: about int_timer1 on 16F876
nfs

Replies: 1
Views: 7953

PostForum: General CCS C Discussion   Posted: Fri Apr 30, 2004 8:59 am   Subject: about int_timer1 on 16F876
is the timer interrupt on every overflow or when he's finished timing?
i have to sample with this expression:

for (i=1, i<=800, i++)
setup_timer_1(T1_internal|T1_div_by_4); //overflow 400�s ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group