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 24 matches
CCS Forum Index
Author Message
  Topic: Problem with tach routine
sadlpx

Replies: 5
Views: 9562

PostForum: General CCS C Discussion   Posted: Mon Jul 09, 2012 6:25 am   Subject: Problem with tach routine
Guys thanks for the help.

Mike - Board /program up and running as example
ex-freqc.c ( timing/LCD good).
New problem - hardware - having trouble with my input using pin_c0.
When I hookup my i ...
  Topic: Problem with tach routine
sadlpx

Replies: 5
Views: 9562

PostForum: General CCS C Discussion   Posted: Sun Jul 08, 2012 8:58 am   Subject: Problem with tach routine
Attached is my code routine for a frequency meter/ tachometer . It compiles and runs well with about 5% error (on the low side) up to about 1800HZ (1.8kHz). Running an internal 4mHZ clock

I've a ...
  Topic: #Include Naming conventions
sadlpx

Replies: 1
Views: 4475

PostForum: General CCS C Discussion   Posted: Tue Jan 31, 2012 3:58 am   Subject: #Include Naming conventions
I'm tryng to improve the readability and ease of usage on my include files

Currently my include statement looks like this.

#include "C:\Documents and Settings\Zac.ZAC-6227651BFB7\My Documen ...
  Topic: debugger ignoring step/stepovers.
sadlpx

Replies: 1
Views: 2748

PostForum: General CCS C Discussion   Posted: Tue Oct 28, 2008 12:18 pm   Subject: debugger ignoring step/stepovers.
Can it be a simple as not having
#include stdio.h
#include string.h

Am I that old/forgetful/dumb?????
  Topic: debugger ignoring step/stepovers.
sadlpx

Replies: 1
Views: 2748

PostForum: General CCS C Discussion   Posted: Tue Oct 28, 2008 12:13 pm   Subject: debugger ignoring step/stepovers.
Using PCWH version 4.030 ( yes old).
I'm having two problems that I cannot explain in the code snippets below.

These comments do not apply to the Printf(lcd_putc... lines ont he standard RS232 pr ...
  Topic: simple RS232 Questions
sadlpx

Replies: 4
Views: 4620

PostForum: General CCS C Discussion   Posted: Tue Oct 28, 2008 11:59 am   Subject: simple RS232 Questions
Found my problem. I was getting poor signal out and did not understand.
Thought I had done something wrong in wiring. Problem turned out to be 1k resistor on 5v(p16). Eliminated resistor and all v ...
  Topic: simple RS232 Questions
sadlpx

Replies: 4
Views: 4620

PostForum: General CCS C Discussion   Posted: Tue Oct 28, 2008 9:04 am   Subject: simple RS232 Questions
Having trouble with my RS232 using a MAX232 and need some help.

1. If I use the statement for hardware USART on 16F877,
#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8)
I shou ...
  Topic: debug module pin for IO
sadlpx

Replies: 2
Views: 4268

PostForum: General CCS C Discussion   Posted: Wed Mar 19, 2008 12:05 pm   Subject: debug module pin for IO
Thanks I had not seen that poster, this will solve my problem. I have 2 leds that i can move to the debug pins. function not important till later.
  Topic: debug module pin for IO
sadlpx

Replies: 2
Views: 4268

PostForum: General CCS C Discussion   Posted: Wed Mar 19, 2008 9:41 am   Subject: debug module pin for IO
My project is using a 28 pin pic. I'm short two pins and don't want to go to a 40p device. What special considerations or hardware could i or should i use to make the 3 debug lines dual purpose.
  Topic: Zero Crossing Hardware question
sadlpx

Replies: 9
Views: 8063

PostForum: General CCS C Discussion   Posted: Sun Dec 16, 2007 2:08 pm   Subject: Zero Crossing Hardware question
Thanks for the help.
1) Are you recomending 2x by 20M in parrallel or 2x 40m ?
2) Did not know there was an AC input optoisolator, agree that is the best solution. got a part number.
  Topic: Zero Crossing Hardware question
sadlpx

Replies: 9
Views: 8063

PostForum: General CCS C Discussion   Posted: Sun Dec 16, 2007 7:53 am   Subject: Zero Crossing Hardware question
This is a hardware question but i did not know where else to ask. I'm working on a AC diming project with multipule channels (ok christmas lights). I need to detect the zero crossing point of the AC ...
  Topic: trouble understanding code segment
sadlpx

Replies: 1
Views: 3889

PostForum: General CCS C Discussion   Posted: Mon Aug 27, 2007 2:32 pm   Subject: trouble understanding code segment
I tryng to understand the example code for the xmit and recv interrupt service routines. Two questions #1 to someone that understands it .are my comments correct for this piece of code?

#2 I ...
  Topic: Chinese scales low voltage falling edge
sadlpx

Replies: 1
Views: 4551

PostForum: General CCS C Discussion   Posted: Tue Oct 11, 2005 12:24 pm   Subject: Chinese scales low voltage falling edge
Followup to the original post for reading Chinese digital scales output. Lower portion of this post has link to site. Trying to read clock input shifting from ~0 to ~1,6v. Not having any luck pulli ...
  Topic: Reading Chinese Scales output
sadlpx

Replies: 1
Views: 3419

PostForum: General CCS C Discussion   Posted: Fri Sep 30, 2005 2:12 pm   Subject: Reading Chinese Scales output
I'm trying to read the output from some chinese calipers. The output stream is 2 - 24bit words back to back (total time about <1 ms), repeating at 50hz or every 20ms. Signal clock starts out with ...
  Topic: kbd.c and Lab-x1
sadlpx

Replies: 4
Views: 8202

PostForum: General CCS C Discussion   Posted: Mon Aug 29, 2005 10:34 am   Subject: kbd.c and Lab-x1
newguy in your code the opening line is #byte portb = 0xf81
can you help me understand why this is a larger value than one 0xff and what your trying to accomplish.
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group