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: Project Wizards
Bill Legge

Replies: 1
Views: 4002

PostForum: General CCS C Discussion   Posted: Sun Mar 24, 2013 11:08 pm   Subject: Project Wizards
I'm using the IDE: PCWHD-IDE
Version 4.141 and neither of the wizards will run.

Anyone else experienced this problem?
Any advice appreciated.

Regards Bill Legge
  Topic: RS232 and TIMEOUT
Bill Legge

Replies: 3
Views: 9502

PostForum: General CCS C Discussion   Posted: Tue Jul 05, 2011 4:55 pm   Subject: TIMEOUT
Thanks Ttelmah,
I'm working on using the get_string function in input.c as you suggested but when I compile it I get these error messages:

*** Error 12 "C:\Program Files\PICC\PICC WVL Code\PI ...
  Topic: RS232 and TIMEOUT
Bill Legge

Replies: 3
Views: 9502

PostForum: General CCS C Discussion   Posted: Tue Jul 05, 2011 4:35 am   Subject: RS232 and TIMEOUT
I'm trying to get some code to work:
1. Read a string from the RS232 UART.
2. Use TIMEOUT to keep going if there is no input.
The following code works OK without TIMEOUT but not as below:

////// ...
  Topic: PCF8583 driver
Bill Legge

Replies: 6
Views: 93598

PostForum: Code Library   Posted: Sat Jul 02, 2011 10:27 pm   Subject: PCF8583
Thank you. Working fine with no changes on:

Mikroelektronika BIGPIC5 board
With PIC18F8722 at 4X10MHz

Regards Bill Legge
  Topic: Basic I2C problem
Bill Legge

Replies: 6
Views: 10593

PostForum: General CCS C Discussion   Posted: Wed Feb 02, 2011 2:07 am   Subject: Basic I2C
PCM

Thank you - that worked a treat.

void WaitForShutUp(void)
{
int8 status;

do{
i2c_start();
i2c_write(0xC4); // Device address - Writ ...
  Topic: Basic I2C problem
Bill Legge

Replies: 6
Views: 10593

PostForum: General CCS C Discussion   Posted: Tue Feb 01, 2011 8:42 pm   Subject: Basic I2C
Thanks, I have got it working. The following code gets the SP03 to play a test message and a pre-recorded message. A fixed delay is used to wait till the first is done:

////////////////////////// ...
  Topic: Basic I2C problem
Bill Legge

Replies: 6
Views: 10593

PostForum: General CCS C Discussion   Posted: Tue Feb 01, 2011 3:05 am   Subject: I2C
Thanks PCM

I have tried it with the first hardware I2C and the '12c_write(0x00)' to select the command register but no joy.
I will try the software on your link.

Thanks for your advice

regar ...
  Topic: Basic I2C problem
Bill Legge

Replies: 6
Views: 10593

PostForum: General CCS C Discussion   Posted: Mon Jan 31, 2011 9:52 pm   Subject: Basic I2C problem
I'm trying to drive the SP03 text-to-speech module from robotparts.com.au using the I2C method - and having no luck.
I do have 4.7k to Vcc on both SDA and SCL lines.

1. The module works OK with th ...
  Topic: I found the problem.When using the search tool ?
Bill Legge

Replies: 4
Views: 5211

PostForum: General CCS C Discussion   Posted: Mon Dec 20, 2010 5:54 am   Subject: Search tool
I have a problem using the search tool:

1. Define the search.
2. Get a display of matching topics
3. Open and read one of them, and
4. Then want to read a different one of the selection
... and ...
  Topic: Want to learn how to program
Bill Legge

Replies: 4
Views: 15214

PostForum: General CCS C Discussion   Posted: Sun Dec 19, 2010 6:43 pm   Subject: Learning C
I'm about a month into 'C' and the some of the best resources I've found:

1. This forum, particularly the 'code' section where I've been able to download other members code and pick it apart to lea ...
  Topic: Manchester or not ?
Bill Legge

Replies: 9
Views: 11567

PostForum: General CCS C Discussion   Posted: Sun Dec 19, 2010 5:18 pm   Subject: Manchester Code and radio links
I would welcome comments/arguements on the business of using Manchester code for radio links. I don't think it is generally necessary because:

1. Most (I would guess very nearly all) 433MHz type ...
  Topic: get and put
Bill Legge

Replies: 2
Views: 4345

PostForum: General CCS C Discussion   Posted: Sun Dec 19, 2010 5:01 pm   Subject: put and get
Thanks for your reply.

I will try the 'ERRORS' but think that it's my code at fault and not the RS232 link/comms. I've used RS232 for a few years now (but not with a C compiler) and not come acros ...
  Topic: get and put
Bill Legge

Replies: 2
Views: 4345

PostForum: General CCS C Discussion   Posted: Sat Dec 18, 2010 11:47 pm   Subject: get and put
I've been learning/testing the get/gets and put/puts functions with the following code:

#include <main.h>
#use rs232(UART1,BAUD=2400) // default, 8_bits, no parity
#define HEARTB ...
  Topic: Hardware PWM problem using PCD
Bill Legge

Replies: 1
Views: 5017

PostForum: General CCS C Discussion   Posted: Fri Nov 26, 2010 9:20 pm   Subject: Hardware PWM problem using PCD
I've written a function to set one of the hardware PWM modules
to a desired frequency and pulse duration.

Uses a 8MHz Xtal so one cycle=0.25uS
And timer2 in 32_bit mode, the code is:

// MCU is ...
  Topic: Adding and deleting files in a project
Bill Legge

Replies: 1
Views: 4165

PostForum: General CCS C Discussion   Posted: Thu Nov 11, 2010 12:49 am   Subject: Adding and deleting files in a project
I'm missing something basic in the CCS IDE:

How to add/delete files to a project?

With MPLAB, one just adds or deletes using:
1. The item in the 'Project" drop down list.
2. Or, right-cli ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group