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 30 matches
CCS Forum Index
Author Message
  Topic: 18F toggling pin problem
Sensor

Replies: 6
Views: 8868

PostForum: General CCS C Discussion   Posted: Fri Nov 17, 2006 10:32 am   Subject: 18F toggling pin problem
I tried disabling the BBSIZ2K and it did not work.

I verified that only RC1 from portC is the problem.

Ttelmah, in the datasheet it says, by default, the CCP2MX configuration bit equals one, so ...
  Topic: 18F toggling pin problem
Sensor

Replies: 6
Views: 8868

PostForum: General CCS C Discussion   Posted: Thu Nov 16, 2006 10:19 am   Subject: 18F toggling pin problem
PIC: 18F6527
Voltage: 5V
Osc: 7.3728MHZ
Compiler: PCWH 3.236

I am having a problem with the 18F6527. All I am trying to do is set a pin high and then set the same pin low and I cannot do it. I ...
  Topic: Clear Interrupts
Sensor

Replies: 2
Views: 6000

PostForum: General CCS C Discussion   Posted: Thu Nov 09, 2006 9:38 am   Subject: Clear Interrupts
Compiler: PCWH version 3.236
Controller: PIC16F628A
Supply Voltage: 5V

Is there a way to clear all interrupts? While searching in this forum I found the command "clear_interrupt(INT_TIMER0) ...
  Topic: Vref problem on 16F628A
Sensor

Replies: 4
Views: 10420

PostForum: General CCS C Discussion   Posted: Thu Aug 24, 2006 1:51 pm   Subject: Vref problem on 16F628A
I figured out the problem, my Vdd was only getting to around 4.7V. That is why the vref voltage was never where it was suppose to be. I used a similar program to the one you posted and I fixed the V ...
  Topic: Vref problem on 16F628A
Sensor

Replies: 4
Views: 10420

PostForum: General CCS C Discussion   Posted: Mon Aug 21, 2006 5:08 pm   Subject: Vref problem on 16F628A
Compiler: PCWH version 3.236
PIC: PIC16F628A
Oscillator: 4 MHz
Target Voltage: 5V

I'm trying to set up the comparator as follows:

setup_comparator(A0_A2_A1_A2_OUT_ON_A3_A4);
...
  Topic: Software UART baud rate problem
Sensor

Replies: 13
Views: 23198

PostForum: General CCS C Discussion   Posted: Tue Aug 08, 2006 8:04 am   Subject: Software UART baud rate problem
You were correct, when I slowed the baud rate to 9600 it worked perfect.

In my application I need a baud rate of 57600 so I may have to switch to an 18F which has two hardware UARTS.

Thanks for ...
  Topic: Software UART baud rate problem
Sensor

Replies: 13
Views: 23198

PostForum: General CCS C Discussion   Posted: Mon Aug 07, 2006 8:54 pm   Subject: Software UART baud rate problem
Can you explain how I don't have the CPU cycle available?

Correct me if I'm wrong... my clock is running at 7.3728MHz, so one instruction will occur every 1/7.3728MHz = 0.1356uS
Baud rate is 57600 ...
  Topic: I2C Communication Problem using PIC16F877A
Sensor

Replies: 47
Views: 76426

PostForum: General CCS C Discussion   Posted: Mon Jun 12, 2006 1:11 pm   Subject: I2C Communication Problem using PIC16F877A
I just received two new compasses from Honeywell and they work fine. The two that I received before were from a "bad batch". Thanks for all the help.
  Topic: Problem with #int_RDA
Sensor

Replies: 6
Views: 8092

PostForum: General CCS C Discussion   Posted: Wed Jun 07, 2006 9:51 am   Subject: Problem with #int_RDA
PIC = 16F627A
Compiler = PCWH version 3.236
Target Voltage = 5V
Oscillator = 4MHz

I am trying to get two 16F627A's to talk back and forth using their UARTS. Everything works fine until I remov ...
  Topic: I2C Communication Problem using PIC16F877A
Sensor

Replies: 47
Views: 76426

PostForum: General CCS C Discussion   Posted: Thu Jun 01, 2006 1:24 pm   Subject: I2C Communication Problem using PIC16F877A
I placed some other device on the bus and was able to talk to them so I know my I2C bus is working. So, I then sent only i2c_start(), i2c_write(address) and i2c_stop() and monitored the lines on the ...
  Topic: I2C Communication Problem using PIC16F877A
Sensor

Replies: 47
Views: 76426

PostForum: General CCS C Discussion   Posted: Thu Jun 01, 2006 8:16 am   Subject: I2C Communication Problem using PIC16F877A
I think something is wrong with my I2C bus. Whether, I have the compass plugged in or not, the bus acts the exact same. I always get a NACK on the 9th clock pulse. I double checked, I have the pin ...
  Topic: I2C Communication Problem using PIC16F877A
Sensor

Replies: 47
Views: 76426

PostForum: General CCS C Discussion   Posted: Wed May 31, 2006 10:14 am   Subject: I2C Communication Problem using PIC16F877A
Compiler: PCWH version 3.236
PIC = PIC16F877A
Voltage = 5V
Osc Speed = 4MHz

I am trying to comminicate with a HMC6352 compass by Honeywell. I have my PIC16F877A configured as the master. I'm j ...
  Topic: Using Timer0 interrupt
Sensor

Replies: 1
Views: 5591

PostForum: General CCS C Discussion   Posted: Tue Dec 20, 2005 6:54 pm   Subject: Using Timer0 interrupt
I am using a PIC16F627A. I am using compiler PCWH version 3.241.

What I am trying to do is decode the DiSeQC Code sent from a DishNetwork Satellite Receiver. The DiSeQC code is sent in bursts of ...
  Topic: display integer variable on LCD
Sensor

Replies: 7
Views: 10860

PostForum: General CCS C Discussion   Posted: Thu Oct 06, 2005 9:37 am   Subject: display integer variable on LCD
Thanks Mark!!!

sorry for all the "beginner" questions, just learning.

Thanks again
  Topic: display integer variable on LCD
Sensor

Replies: 7
Views: 10860

PostForum: General CCS C Discussion   Posted: Thu Oct 06, 2005 9:24 am   Subject: display integer variable on LCD
Thanks,
The printf worked. I had tried the sprintf yesterday but had no luck.

Ok so now I can output my number but... what I am trying to display is an elevation angle between 0 and 90 degrees. ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group