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 23 matches
CCS Forum Index
Author Message
  Topic: I2C Help needed
nizar445

Replies: 9
Views: 11212

PostForum: General CCS C Discussion   Posted: Sun May 20, 2012 5:47 am   Subject: Thanks
@Ttelmah

Thanks again for your help and clear explanations.

I do understand the main objective of the code you have written but the part that I don’t understand is that how is the function you ...
  Topic: I2C Help needed
nizar445

Replies: 9
Views: 11212

PostForum: General CCS C Discussion   Posted: Sun May 20, 2012 5:46 am   Subject: I2C Help needed
@jeremiah and temtronic

Thanks a lot for referring me to the C compiler manual, I haven’t seen it before.

@ PCM programmer

Found it thank you for the hint Embarassed .
  Topic: I2C Help needed
nizar445

Replies: 9
Views: 11212

PostForum: General CCS C Discussion   Posted: Sat May 19, 2012 9:41 am   Subject: Wow Wow Wow
@Ttelmah

First: Thanks a lot for your generous explanation and help. Thank god I do understand the address and the R/W bits now all because of your clear explanations.

Second: Yes, you are rig ...
  Topic: I2C Help needed
nizar445

Replies: 9
Views: 11212

PostForum: General CCS C Discussion   Posted: Sat May 19, 2012 3:15 am   Subject: I2C Help needed
Hi all,

I need some help to understand and control this chip (HV881); it uses I2C protocol to turn ON/OFF EL lamps.

So far I have wired the chip correctly and I have started to write a program t ...
  Topic: Reading ADC values (Little Help needed)
nizar445

Replies: 7
Views: 33509

PostForum: General CCS C Discussion   Posted: Wed Dec 01, 2010 10:56 am   Subject: Reading ADC values (Little Help needed)
@Ttelmah

Thanks a lot for helping me man, you were right, the problem was the noise coming from my supply Smile

But I am still very interested in knowing about your averaging method if possible. ...
  Topic: Reading ADC values (Little Help needed)
nizar445

Replies: 7
Views: 33509

PostForum: General CCS C Discussion   Posted: Tue Nov 30, 2010 5:39 am   Subject: Reading ADC values (Little Help needed)
Hi all,

Thanks for your help, but I am still having the same problem!!!? More help please if possible..... Embarassed .

@pmuldoon
I’ve tried all of your suggestions but the results are just the ...
  Topic: Reading ADC values (Little Help needed)
nizar445

Replies: 7
Views: 33509

PostForum: General CCS C Discussion   Posted: Thu Nov 25, 2010 8:48 am   Subject: Reading ADC values (Little Help needed)
Hi all

I'm trying to write an ADC code for measuring values from an input source which can be changed. Everything seems to work apart from an accuracy issue which is something killing me!!! The num ...
  Topic: Frequency reading using PIC
nizar445

Replies: 37
Views: 40025

PostForum: General CCS C Discussion   Posted: Fri Aug 21, 2009 5:07 pm   Subject: Frequency reading using PIC
Thanks for your reply, I will try that, by the way, there was “L” letter next to the 125000 in the frequency formula do I need to include it or not?

frequency = (125000L / current_ccp_del ...
  Topic: Frequency reading using PIC
nizar445

Replies: 37
Views: 40025

PostForum: General CCS C Discussion   Posted: Fri Aug 21, 2009 3:54 pm   Subject: Frequency reading using PIC
Yes I did that on purpose, I thought that, by changing all the variables to “float” I will get more accurate readings as all the calculations will include the decimals!!?

If I change these var ...
  Topic: Frequency reading using PIC
nizar445

Replies: 37
Views: 40025

PostForum: General CCS C Discussion   Posted: Thu Aug 20, 2009 7:07 pm   Subject: Frequency reading using PIC
Here is my full code:

#include <16F87.H>
#fuses NOPROTECT, NOLVP, NOPUT, NOMCLR,NOBROWNOUT, NOCPD, NOWRT, NODEBUG, XT, NOWDT

#use delay(clock=4000000)

#use rs232(baud=96 ...
  Topic: Frequency reading using PIC
nizar445

Replies: 37
Views: 40025

PostForum: General CCS C Discussion   Posted: Thu Aug 20, 2009 6:04 pm   Subject: Frequency reading using PIC
What is your compiler version ?

MPLAB 8.10
CCS C Compiler V4.013
  Topic: Frequency reading using PIC
nizar445

Replies: 37
Views: 40025

PostForum: General CCS C Discussion   Posted: Thu Aug 20, 2009 5:07 pm   Subject: Frequency reading using PIC
Dear PCM Programmer

Thanks a lot for your quick reply.

Why not include 16F87.h ?

Sorry, that was a typing error I have included the “16F87.h” file.

What is the frequency of the input ...
  Topic: Frequency reading using PIC
nizar445

Replies: 37
Views: 40025

PostForum: General CCS C Discussion   Posted: Thu Aug 20, 2009 4:43 pm   Subject: Frequency reading using PIC
Dear PCM programmer

Thanks a lot for all of your previous help to get my frequency reading device working and thanks for the other people who tried to help me before. I’m sorry because I keep usi ...
  Topic: Frequency reading using PIC
nizar445

Replies: 37
Views: 40025

PostForum: General CCS C Discussion   Posted: Mon Jun 29, 2009 1:38 pm   Subject: Frequency reading using PIC
Dear bungee

Thanks a lot for the explanations I’ve managed to get it to work now.



Dear PCM programmer

Thank you very much for your help and advice. It did really help me, especially ab ...
  Topic: Frequency reading using PIC
nizar445

Replies: 37
Views: 40025

PostForum: General CCS C Discussion   Posted: Sun Jun 28, 2009 5:09 am   Subject: Frequency reading using PIC
Dear PCM programmer

Thank you very much for your help and instructions, I’ve managed to get your testing programme to work on my PIC and it did display "Hello World" in the Hypertermina ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group