Author |
Message |
Topic: CCS IDE Problem |
ROBOTICAR
Replies: 0
Views: 5183
|
Forum: General CCS C Discussion Posted: Thu Dec 03, 2015 2:04 pm Subject: CCS IDE Problem |
Hi
I have a problem with IDE 5.025, I think it worked well in last versions.
I declare a structure like this:
struct {
unsigned A1 : 4;
unsigned A2 : 4;
... |
Topic: internal osc and RS232 problem |
ROBOTICAR
Replies: 3
Views: 8558
|
Forum: General CCS C Discussion Posted: Wed Mar 11, 2015 12:15 pm Subject: internal osc and RS232 problem |
Hi
I searched the forum and I couldn't find any answer to my question.
I use PIC25k80 and I run it through internal RC oscillator with x4PLL I just add this code in my header file :
#use delay(in ... |
Topic: pic24E |
ROBOTICAR
Replies: 2
Views: 4851
|
Forum: General CCS C Discussion Posted: Mon Feb 27, 2012 8:18 am Subject: pic24E |
I want to start working with pic24e series. I couldn't find them in ccs wizard. Does CCS PCWHD support it ? |
Topic: rate of task |
ROBOTICAR
Replies: 2
Views: 4819
|
Forum: General CCS C Discussion Posted: Sun Aug 28, 2011 2:17 pm Subject: rate of task |
I have memorized it ! But I want change the rate of task after starting program. For example I want read an integer from rs232 and put it as rate of my task. Is there any way ? |
Topic: rate of task |
ROBOTICAR
Replies: 2
Views: 4819
|
Forum: General CCS C Discussion Posted: Sun Aug 28, 2011 1:10 pm Subject: rate of task |
hi
I just begin using RTOS in my programs. I need to change the rate of my task. How can I do it? Is there any way or the rate of task is a constant and I can't change it?
Thanks |
Topic: rs232 problem |
ROBOTICAR
Replies: 3
Views: 5433
|
Forum: General CCS C Discussion Posted: Sat May 28, 2011 1:43 pm Subject: rs232 problem |
Hi. I have a problem. How can I send and receive decimal numbers with rs232? I use getc() but this function just can receive ascii data (32 - 127).
I want to send and get number from 0 to 255 ! Can I ... |
Topic: int24 |
ROBOTICAR
Replies: 2
Views: 8703
|
Forum: General CCS C Discussion Posted: Sun Mar 27, 2011 2:11 pm Subject: int24 |
yes. It's from AD chip and comes in by spi. I used 'signed int32' for that and i know we must use this type. But i think there is a way that we can make signed int24. My friend said you can use :
t ... |
Topic: int24 |
ROBOTICAR
Replies: 2
Views: 8703
|
Forum: General CCS C Discussion Posted: Sun Mar 27, 2011 7:33 am Subject: int24 |
Hi
How can i define int24 variable ? (with structure or another way) . I mean the 23th bit of this variable must be the sign bit ! |
Topic: problem with #define !!!!!! |
ROBOTICAR
Replies: 4
Views: 11098
|
Forum: General CCS C Discussion Posted: Sat Mar 26, 2011 11:52 pm Subject: problem with #define !!!!!! |
Hi
I read the "Embedded C programming and the microchip PIC" book, - the bits and bitfields part - and I have problem with some part.
It use bitfields for describing I/O port, for example ... |
Topic: constant array problem ! |
ROBOTICAR
Replies: 4
Views: 5965
|
Forum: General CCS C Discussion Posted: Mon Jul 26, 2010 9:31 am Subject: constant array problem ! |
Hi all.
I want to print constant array but not directly and in main(). ! In this code I used pointer and I think print_data() work while I define F8_18 in RAM.
my question is here : why I can't get ... |
Topic: Problem with MMC initialization |
ROBOTICAR
Replies: 1
Views: 3906
|
Forum: General CCS C Discussion Posted: Wed Nov 12, 2008 7:46 am Subject: Problem with MMC initialization |
I want to write MMC library . But I have a problem at the beginning . In this code the first level or reset MMC (GO_IDLE_STATE) is successful and MMC return 0x01.but in next level or SEND_OP_COND MMC ... |
Topic: problem with string |
ROBOTICAR
Replies: 4
Views: 4317
|
Forum: General CCS C Discussion Posted: Sat Aug 09, 2008 10:55 am Subject: problem with string |
and another question.
How can I change 3256.212 into 3256212 ?? |
Topic: problem with string |
ROBOTICAR
Replies: 4
Views: 4317
|
Forum: General CCS C Discussion Posted: Sat Aug 09, 2008 5:12 am Subject: problem with string |
Hi ALL
How can I empty the string? for example I define J[40] and with serial communication (RS232) get 40 characters. I want to keep on this loop and I need to make J empty. How can I do that? |
Topic: get string with spi |
ROBOTICAR
Replies: 1
Views: 2758
|
Forum: General CCS C Discussion Posted: Fri Aug 08, 2008 10:24 am Subject: get string with spi |
Hi all
How can I get string with spi? Is there any function for that? |
Topic: RS232 problem |
ROBOTICAR
Replies: 6
Views: 7172
|
Forum: General CCS C Discussion Posted: Wed Jul 16, 2008 3:29 am Subject: RS232 problem |
after get first string my KBHIT() become TRUE and then I can't keep on to get data . what can I do for make kbhit() false? |
|