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 13 matches
CCS Forum Index
Author Message
  Topic: problem with freq reading
Stygian

Replies: 3
Views: 4869

PostForum: General CCS C Discussion   Posted: Thu Mar 29, 2012 7:39 am   Subject: problem with freq reading
In simulation both count, so i don't understand.

I tell it in the beginning, but sorry if it was mis-understandable.

Btw. Simulators are crap. For e.g. Now it can't handle two isr.
If I #int_ti ...
  Topic: problem with freq reading
Stygian

Replies: 3
Views: 4869

PostForum: General CCS C Discussion   Posted: Thu Mar 29, 2012 6:01 am   Subject: SOLVED
I solved it. It was a simulation bug.

But is someone in the future want the same I write it down here.

For a pic18F46k22 the code is the following:

#byte CCPTMRS0 = 0xF49

void main( ...
  Topic: problem with freq reading
Stygian

Replies: 3
Views: 4869

PostForum: General CCS C Discussion   Posted: Thu Mar 29, 2012 4:52 am   Subject: problem with freq reading
Hello All!

I made a tachometer and it works fine, but i want to use TIMER3 or 5 as a counter not the TIMER1, beacause TIMER1 already in use. The CCP setup function said "...In capture mode it ...
  Topic: PIC16F1938 setup in CCS?
Stygian

Replies: 7
Views: 9845

PostForum: General CCS C Discussion   Posted: Wed Feb 29, 2012 5:07 am   Subject: SLOVED
Thank You Mike!

You give Me the guide what I need Smile.
Thank you once again!

For thoes who want someting like this I post it here:

#byte APFCON = 0x11d //use datasheet for details
void main& ...
  Topic: PIC16F1938 setup in CCS?
Stygian

Replies: 7
Views: 9845

PostForum: General CCS C Discussion   Posted: Tue Feb 28, 2012 8:04 am   Subject: PIC16F1938 setup in CCS?
Dear Mike!

You mean i can call it from the .h file? Cause I found someting in it:


[b]#define CCP3_B5 0x100[/b]


So I only have to define it in the main.h?

Th ...
  Topic: PIC16F1938 setup in CCS?
Stygian

Replies: 7
Views: 9845

PostForum: General CCS C Discussion   Posted: Tue Feb 28, 2012 6:54 am   Subject: PIC16F1938 setup in CCS?
The datasheet says:

"Pin functions can be moved using the APFCON register."

How can i use APFCON in CCS?
  Topic: PIC16F1938 setup in CCS?
Stygian

Replies: 7
Views: 9845

PostForum: General CCS C Discussion   Posted: Tue Feb 28, 2012 5:30 am   Subject: PIC16F1938 setup in CCS?
Hello All!

I have a PIC16F1938. I want to use the RS232 and the CCP3(as a PWM) "at the same time". How can I diable the CCP3 on port C6 and enable on B5?
Is this possible?

Thanks for ...
  Topic: Problem using CCP1
Stygian

Replies: 2
Views: 4054

PostForum: General CCS C Discussion   Posted: Mon Feb 27, 2012 8:56 am   Subject: Problem using CCP1
Hello All!

I don't want to open a new topic so I write here.
My question is simple. I'm using a PIC16F1938.
I want to use the CCP3 and the RS232 at the same time.
How can I disable the CCP3 on p ...
  Topic: Flex lcd 20x4 driver black squares
Stygian

Replies: 7
Views: 14014

PostForum: General CCS C Discussion   Posted: Thu Apr 28, 2011 8:10 am   Subject: Flex lcd 20x4 driver black squares
Today I bought a new lcd display and it's worked at the first time...

Thank you PCM programmer for your help.
  Topic: Flex lcd 20x4 driver black squares
Stygian

Replies: 7
Views: 14014

PostForum: General CCS C Discussion   Posted: Tue Apr 26, 2011 5:23 pm   Subject: Flex lcd 20x4 driver black squares
Yes I noticed it too and make correction

This is the original:
C0 = D4
C1 = D5
C2 = D6
C3 = D7

I swap the pins and that was the last try

I put it on PORT B. But nothing...

What about ...
  Topic: Flex lcd 20x4 driver black squares
Stygian

Replies: 7
Views: 14014

PostForum: General CCS C Discussion   Posted: Tue Apr 26, 2011 2:59 pm   Subject: Flex lcd 20x4 driver black squares
The voltage is 0,6 V

This is the only thing what i changed in the LCD Flex driver:

#define LCD_DB4 PIN_C1
#define LCD_DB5 PIN_C0
#define LCD_DB6 PIN_C2
#define LCD_DB7 PIN_C3

#defi ...
  Topic: Flex lcd 20x4 driver black squares
Stygian

Replies: 7
Views: 14014

PostForum: General CCS C Discussion   Posted: Tue Apr 26, 2011 9:11 am   Subject: Flex lcd 20x4 driver black squares
And here it is the LCD datasheet

http://forgalmazo.net/elektronika/pdf/%28dis%29_202a_serie.pdf
  Topic: Flex lcd 20x4 driver black squares
Stygian

Replies: 7
Views: 14014

PostForum: General CCS C Discussion   Posted: Tue Apr 26, 2011 6:22 am   Subject: i give up
First of all sorry for my bad english

I used the Flex LCD driver from my 2x20 LCD (KS0066u chip)
First i connect all data pins (D4-D7) on PORT C
C0 = D4
C1 = D5
C2 = D6
C3 = D7
And the RS RW ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group