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 24 matches
CCS Forum Index
Author Message
  Topic: 10-bit ADC on pic 18F4550
alyeomans

Replies: 18
Views: 74569

PostForum: General CCS C Discussion   Posted: Thu May 18, 2017 6:38 am   Subject: 10-bit ADC on pic 18F4550
I've had a few projects with the PIC18F4620 which is quite similar.

My experience with this chips 10bit ADC contrary to Ttelmah has been good. I have been able to quite accurately measure battery ...
  Topic: How to put data into the database using serial communication
alyeomans

Replies: 4
Views: 12901

PostForum: General CCS C Discussion   Posted: Wed May 17, 2017 11:06 pm   Subject: How to put data into the database using serial communication
The way I load data into our MySQL database is through a VB program. The program reads the serial input, parses the data then connects to the database and loads the data in an SQL statement.

Anothe ...
  Topic: Start Timer on CCP Edge
alyeomans

Replies: 1
Views: 7320

PostForum: General CCS C Discussion   Posted: Wed May 17, 2017 6:50 am   Subject: Start Timer on CCP Edge
...and the CCP2 is on pin B3 so port B pin change available.
  Topic: Start Timer on CCP Edge
alyeomans

Replies: 1
Views: 7320

PostForum: General CCS C Discussion   Posted: Wed May 17, 2017 6:42 am   Subject: Start Timer on CCP Edge
Greetings All

I have a PCB prototype I designed some time ago which is a digital AC phase power controller. The current configuration has the AC zero cross pulse appearing on the CCP2 (11) pin of a ...
  Topic: Trouble converting parsed string to INT16
alyeomans

Replies: 2
Views: 9462

PostForum: General CCS C Discussion   Posted: Tue Jul 05, 2016 6:25 am   Subject: Trouble converting parsed string to INT16
Solved. atoi() is for 8 bit and atol() for long integers - works ok for int16 not sure of higher.

Al
  Topic: Trouble converting parsed string to INT16
alyeomans

Replies: 2
Views: 9462

PostForum: General CCS C Discussion   Posted: Tue Jul 05, 2016 6:02 am   Subject: Trouble converting parsed string to INT16
Hi All

I'm hoping for some comment on trying to find where I have messed this program. This test program accepts serial input and parses out separate strings from comma delimiters. My trouble has a ...
  Topic: Int8 to Binary Function Trouble
alyeomans

Replies: 7
Views: 17724

PostForum: General CCS C Discussion   Posted: Tue Jul 05, 2016 12:38 am   Subject: Int8 to Binary Function Trouble
Oww yes. I see. Red face. Thank you for setting me straight
  Topic: Int8 to Binary Function Trouble
alyeomans

Replies: 7
Views: 17724

PostForum: General CCS C Discussion   Posted: Mon Jul 04, 2016 6:54 am   Subject: Int8 to Binary Function Trouble
Thanks again...but to slide the last word in I was testing for equal or greater than 0 (i>=0) which adheres to the unsigned int rule when it failed.
A
  Topic: Int8 to Binary Function Trouble
alyeomans

Replies: 7
Views: 17724

PostForum: General CCS C Discussion   Posted: Sat Jul 02, 2016 5:34 am   Subject: Int8 to Binary Function Trouble
Thanks again, Ttelmah. I'll have a look at the itoa function but what you pointed to with the bit index range was part of the problem. It seems that the issue was in the for loop condition: testing fo ...
  Topic: Int8 to Binary Function Trouble
alyeomans

Replies: 7
Views: 17724

PostForum: General CCS C Discussion   Posted: Sat Jul 02, 2016 1:30 am   Subject: Int8 to Binary Function Trouble
Hi All

I have an issue with the the function which takes an int8 and outputs the binary equivalent:

#include <18F4620.h>

//FUSES
#FUSES NOWDT //No Watch Dog Timer ...
  Topic: PIC18F4620 + 32kHz and sleep
alyeomans

Replies: 3
Views: 17333

PostForum: General CCS C Discussion   Posted: Fri May 06, 2016 4:57 pm   Subject: PIC18F4620 + 32kHz and sleep
Thank you PCMProgrammer. I was a little lost before and your guidance is appreciated. I feel i am ready to start experimenting.

The device will be in a shielded case so I will test for the low pow ...
  Topic: PIC18F4620 + 32kHz and sleep
alyeomans

Replies: 3
Views: 17333

PostForum: General CCS C Discussion   Posted: Fri May 06, 2016 6:29 am   Subject: PIC18F4620 + 32kHz and sleep
Hi All

I am looking to rewrite the firmware of a battery powered data logger. It runs a PIC18F4620 using the internal osc at 8MHz - it also has a 32kHz watch crystal used to track time for wake an ...
  Topic: No Header File for device
alyeomans

Replies: 3
Views: 11400

PostForum: General CCS C Discussion   Posted: Tue Jun 30, 2015 5:13 am   Subject: No Header File for device
Many thanks for that. As you say it does not work as it seems the device5.dat file authenticates device files according to version. I will lobby for the update.
  Topic: No Header File for device
alyeomans

Replies: 3
Views: 11400

PostForum: General CCS C Discussion   Posted: Tue Jun 30, 2015 4:48 am   Subject: No Header File for device
Sorted it. Downloaded and installed the demo and got the updated list of header files.

A
  Topic: No Header File for device
alyeomans

Replies: 3
Views: 11400

PostForum: General CCS C Discussion   Posted: Tue Jun 30, 2015 4:38 am   Subject: No Header File for device
Hi All
I have specified a PIC16F1615 on a project and now having produced the PCB now realise that there is not header file under my device directory.

I'd like to explore the options:
1. go to a ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group