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 14 matches
CCS Forum Index
Author Message
  Topic: Frequency meter with Pic 16F877
c0de

Replies: 27
Views: 56478

PostForum: General CCS C Discussion   Posted: Wed Jul 04, 2012 5:28 am   Subject: Frequency meter with Pic 16F877
Thanks Mike, I will take a look at that timing gate example...
I haven't tested yet the circuit on a scope but I have made some modifications on the code.
As far as I understand, the CCP1 value is ...
  Topic: Frequency meter with Pic 16F877
c0de

Replies: 27
Views: 56478

PostForum: General CCS C Discussion   Posted: Tue Jul 03, 2012 10:47 am   Subject: Frequency meter with Pic 16F877
So, your frequency meter reads ~60kHz.

Where is the problem?

(1) Is the oscillator running at ~60kHz, and the meter reading ~60kHz?
(2) Is the oscillator running at your expected ~400kHz and th ...
  Topic: Frequency meter with Pic 16F877
c0de

Replies: 27
Views: 56478

PostForum: General CCS C Discussion   Posted: Tue Jul 03, 2012 2:31 am   Subject: Frequency meter with Pic 16F877
This version of the code will accept a 1 MHz input. The displayed
frequency resolution is +/- 0.6 %. You will not get 1000001 Hz or
1000002 Hz, etc., with this program. It's more like 1000000 ...
  Topic: rs232 interrupt problem
c0de

Replies: 5
Views: 8463

PostForum: General CCS C Discussion   Posted: Fri May 11, 2012 12:31 am   Subject: rs232 interrupt problem
Thank you for your answers. I apologize for the length of the post but I didn't knew exactly what can cause the interrupt problems. Now everything is clear and I will modify the code according to your ...
  Topic: rs232 interrupt problem
c0de

Replies: 5
Views: 8463

PostForum: General CCS C Discussion   Posted: Thu May 10, 2012 10:05 am   Subject: rs232 interrupt problem
Hello.
I'm trying to make an app for controlling a door. I use a PIC16F876A, a 4x3 keyboard and a 16x1 LCD.
I have tested the circuit but I can't get the serial interrupt working. The serial connec ...
  Topic: Timers - what you should know
c0de

Replies: 28
Views: 248811

PostForum: Code Library   Posted: Wed Apr 01, 2009 7:47 am   Subject: Re: Timers - what you should know
Hello.
I have a question regarding this tutorial.
In this case:
void main() {
int i;
setup_timer_0(RTCC_INTERNAL|RTTC_8_BIT|RTCC_DIV_4);
enable_interrupts(IN ...
  Topic: i2c problem with PIC16F876 and MD03 DC motor driver
c0de

Replies: 2
Views: 3841

PostForum: General CCS C Discussion   Posted: Sat Jun 07, 2008 2:47 am   Subject: i2c problem with PIC16F876 and MD03 DC motor driver
Hi,

At the risk of offending you, a simple question, have you got pull up resistors on SDA, SCL?

Regards

Hi. You are not offending me Very Happy I'm a beginner and I accept any advices. The answ ...
  Topic: i2c problem with PIC16F876 and MD03 DC motor driver
c0de

Replies: 2
Views: 3841

PostForum: General CCS C Discussion   Posted: Sat Jun 07, 2008 1:54 am   Subject: i2c problem with PIC16F876 and MD03 DC motor driver
Hello.
I have some problems in driving a dc motor with a PIC16F876 and
#include <16F876.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=20000000)
#use rs232(baud=9600, xmit ...
  Topic: problem assigning port_a with input_a()
c0de

Replies: 2
Views: 3632

PostForum: General CCS C Discussion   Posted: Fri Nov 23, 2007 10:10 am   Subject: problem assigning port_a with input_a()
I didn't knew that:)
Thanks alot.
  Topic: problem assigning port_a with input_a()
c0de

Replies: 2
Views: 3632

PostForum: General CCS C Discussion   Posted: Fri Nov 23, 2007 6:48 am   Subject: problem assigning port_a with input_a()
Hello.

I'm trying to make a simple program to write the state of portA pins to a lcd.
#include <16F876.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=20000000)
#include < ...
  Topic: Communication between 2 microcontrollers
c0de

Replies: 2
Views: 4503

PostForum: General CCS C Discussion   Posted: Wed Nov 21, 2007 7:03 am   Subject: Communication between 2 microcontrollers
Is it possible to control 2 serial lines with a pic16f876? (one serial for PC and one serial for another pic16f876) ... or in other words, to have multiple Rx/Tx pins.

I would like to have somethin ...
  Topic: Help reading from multiplexer
c0de

Replies: 2
Views: 4220

PostForum: General CCS C Discussion   Posted: Tue Nov 20, 2007 1:03 pm   Subject: Help reading from multiplexer
How to do an LCD interface with 3 signal wires:
http://www.myke.com/lcd.htm

Thats cool. Thanks:)

I'm still interested in reading those bits.
  Topic: Help reading from multiplexer
c0de

Replies: 2
Views: 4220

PostForum: General CCS C Discussion   Posted: Tue Nov 20, 2007 12:41 pm   Subject: Help reading from multiplexer
Hello.
I'm beginner with PIC and ccs. I need some help/advices in reading data from a multiplexer.
I'm using a PIC16f876 for reading 9 digital inputs. Initially I've set portB (all 8 pins) and pin ...
  Topic: rs232 with pic16f876
c0de

Replies: 1
Views: 3224

PostForum: General CCS C Discussion   Posted: Mon May 14, 2007 3:50 am   Subject: rs232 with pic16f876
Hello.
I'm trying to make a program for a pic16f876 connected via rs232 with a Gumstix microcomputer. The PIC mc is reading from RB0 (input pin) the data transmitted by an optical transducer and tran ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group