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 10 matches
CCS Forum Index
Author Message
  Topic: ADC test code not working as expected
AArdvark

Replies: 4
Views: 8102

PostForum: General CCS C Discussion   Posted: Sat Aug 15, 2015 3:10 am   Subject: ADC test code not working as expected
Yes this is hardware it is being using on a demo board that I built years ago. Where all the ports breakout to headers and on port C I have a jumper to switch in leds as well as what is connected to t ...
  Topic: ADC test code not working as expected
AArdvark

Replies: 4
Views: 8102

PostForum: General CCS C Discussion   Posted: Fri Aug 14, 2015 3:43 pm   Subject: ADC test code not working as expected
thanks Jay,

I knew it would be a simple silly mistake so obvious when someone points it out! Embarassed

as for the 'ADC_clock selection' i am not going against your 20 years experience but the fi ...
  Topic: ADC test code not working as expected
AArdvark

Replies: 4
Views: 8102

PostForum: General CCS C Discussion   Posted: Fri Aug 14, 2015 2:21 pm   Subject: ADC test code not working as expected
Hi,

I am trying to write some test code for the ADC reading to control the blink rate of an led. See below for the code, this seems to work although a bit flaky.


#include <main.h>

vo ...
  Topic: pic18F4520 acting odd while using RS232
AArdvark

Replies: 8
Views: 10627

PostForum: General CCS C Discussion   Posted: Fri Jun 05, 2015 8:15 am   Subject: pic18F4520 acting odd while using RS232
Thanks for all your comments, I haven't been well lately so I haven't yet try them. I will do and. I also think know you have prompted me to do a bit more reading and research.
  Topic: pic18F4520 acting odd while using RS232
AArdvark

Replies: 8
Views: 10627

PostForum: General CCS C Discussion   Posted: Thu Jun 04, 2015 5:01 am   Subject: pic18F4520 acting odd while using RS232
the 'circular buffer' is working fine i can see its getting the correct data.

i thought i tried using if( c[0]=='F') but it didn't work which is why i came up with what i used maybe i will retry ...
  Topic: pic18F4520 acting odd while using RS232
AArdvark

Replies: 8
Views: 10627

PostForum: General CCS C Discussion   Posted: Thu Jun 04, 2015 4:28 am   Subject: pic18F4520 acting odd while using RS232
Alan,

these are not hex they are just arbitrary characters used to look for the start and end on the data. or have i miss the point on this?
  Topic: pic18F4520 acting odd while using RS232
AArdvark

Replies: 8
Views: 10627

PostForum: General CCS C Discussion   Posted: Thu Jun 04, 2015 2:37 am   Subject: pic18F4520 acting odd while using RS232
Hi,

The code below is from a larger program but this section keeps causing me problems intermittently. I am sending it command in the format of FF9ABL30FFF0502DFE. I have 2 start chars FF, next i ...
  Topic: Running Low On RAM!
AArdvark

Replies: 6
Views: 11301

PostForum: General CCS C Discussion   Posted: Wed Mar 25, 2015 6:03 pm   Subject: Running Low On RAM!
unfortunately that made no difference Confused
i don't think its these taking up the memory.
  Topic: Running Low On RAM!
AArdvark

Replies: 6
Views: 11301

PostForum: General CCS C Discussion   Posted: Wed Mar 25, 2015 5:47 pm   Subject: Running Low On RAM!
thanks for your reply, i tried this before thinking that's what it will do but it came up with errors all over the place.

i have just tried it again now and it seems to work i will test it out on t ...
  Topic: Running Low On RAM!
AArdvark

Replies: 6
Views: 11301

PostForum: General CCS C Discussion   Posted: Wed Mar 25, 2015 5:05 pm   Subject: Running Low On RAM!
Hi,

i have been silent on here using this fantastic forum as reference for sometime now. Anyway i am new ish to pic c programming. i am having an issue with RAM running low and would appreciate s ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group