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 7 matches
CCS Forum Index
Author Message
  Topic: Trouble using touchpad functions with 12lf1822
janbbeck

Replies: 1
Views: 4382

PostForum: General CCS C Discussion   Posted: Wed Dec 29, 2010 2:29 pm   Subject: Trouble using touchpad functions with 12lf1822
I am trying to simply get a touch sensing on two pins on my 12lf1822 to replace some qprox sensors I have used in the past.

I am basically using the code from the help file, but have had no success ...
  Topic: PIC12LF1822 and PIC16LF1823 clock problems
janbbeck

Replies: 9
Views: 15726

PostForum: General CCS C Discussion   Posted: Wed Dec 29, 2010 2:14 pm   Subject: PIC12LF1822 and PIC16LF1823 clock problems
What delay time are you using that fails in vs. 4.116 ?
Post the delay_ms() statement that fails. Also post your #use delay().

No, it does work now. Thanks a lot. Now I cannot get the sample cod ...
  Topic: PIC12LF1822 and PIC16LF1823 clock problems
janbbeck

Replies: 9
Views: 15726

PostForum: General CCS C Discussion   Posted: Wed Dec 29, 2010 1:47 pm   Subject: PIC12LF1822 and PIC16LF1823 clock problems
scratch my previous post. I had an evironment variable pointing to the old compiler.

4.116 in deed solves the problem.

Thanks again!
  Topic: PIC12LF1822 and PIC16LF1823 clock problems
janbbeck

Replies: 9
Views: 15726

PostForum: General CCS C Discussion   Posted: Wed Dec 29, 2010 1:43 pm   Subject: PIC12LF1822 and PIC16LF1823 clock problems
Thanks for looking into this for me, but the delay_ms does not work for me with 4.116 either.

I am planning to use the touch sensor functions, and they use a ms delay as well, so I don't think the ...
  Topic: PIC12LF1822 and PIC16LF1823 clock problems
janbbeck

Replies: 9
Views: 15726

PostForum: General CCS C Discussion   Posted: Thu Dec 23, 2010 5:50 pm   Subject: PIC12LF1822 and PIC16LF1823 clock problems
Post your compiler version.
4.114

I also want to point out that delay_us works as advertised, as I just tested on the scope. Delay_ms does not.

if it helps, here is the assembly:



....... ...
  Topic: PIC12LF1822 and PIC16LF1823 clock problems
janbbeck

Replies: 9
Views: 15726

PostForum: General CCS C Discussion   Posted: Thu Dec 23, 2010 5:13 pm   Subject: PIC12LF1822 and PIC16LF1823 clock problems
Thank you for that. At least I know that I am running at the right clock rate.

Still the delay_ms does not work, and now my number of theories is down to 0.

Any ideas?

No....

4MHz = 1MIP ...
  Topic: PIC12LF1822 and PIC16LF1823 clock problems
janbbeck

Replies: 9
Views: 15726

PostForum: General CCS C Discussion   Posted: Thu Dec 23, 2010 10:59 am   Subject: PIC12LF1822 and PIC16LF1823 clock problems
I cannot figure out how to get the delay_ms function to work. I can get delays by using the delay_cycles only.

The long version:
I am using the 12lf1822 and make a sample program using the pic wiz ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group