Author |
Message |
Topic: how to printf/putc "0x00" |
bandofcs
Replies: 2
Views: 6415
|
Forum: General CCS C Discussion Posted: Sun Jul 27, 2014 6:13 pm Subject: how to printf/putc "0x00" |
Dear all,
I am writing a program for wireless transmission where there may be instances where transmission of 0x00 is necessary via TX port.
Does anyone have any idea how that can be achieved?
... |
Topic: How to printf a VERY long string |
bandofcs
Replies: 14
Views: 18143
|
Forum: General CCS C Discussion Posted: Thu Jul 24, 2014 9:54 pm Subject: How to printf a VERY long string |
Will there be a difference between sending via putc() vs printf()? Will there be additional pauses/delay/bits between each character sent by use these 2 different functions?
for example
CHAR ... |
Topic: How to printf a VERY long string |
bandofcs
Replies: 14
Views: 18143
|
Forum: General CCS C Discussion Posted: Thu Jul 24, 2014 9:20 am Subject: How to printf a VERY long string |
Why cant you just do something like:
int i=0;
Array[136]={1,2,3,...n};
while(i<n)
{
putc(Array[i]);
i++;
}
include:
#device *= ... |
Topic: How to printf a VERY long string |
bandofcs
Replies: 14
Views: 18143
|
Forum: General CCS C Discussion Posted: Thu Jul 24, 2014 6:23 am Subject: How to printf a VERY long string |
YES but NOT using printf....
RS-232 frames,by definition, each character with a start and stop bit.
and the UART hardware capability of the pic is oriented to this standard.
what you ask for ... |
Topic: How to printf a VERY long string |
bandofcs
Replies: 14
Views: 18143
|
Forum: General CCS C Discussion Posted: Thu Jul 24, 2014 6:05 am Subject: Re: How to printf a VERY long string |
You are using a legacy PIC with significant architectural limitations, forcing the PIC to consume a large amount of RAM within it's very limited (early 1980s style) RAM banking architecture.
If ... |
Topic: How to printf a VERY long string |
bandofcs
Replies: 14
Views: 18143
|
Forum: General CCS C Discussion Posted: Thu Jul 24, 2014 2:01 am Subject: How to printf a VERY long string |
dear all,
I am using PIC16F876A. When I try to define a char array variable more than size 90, they told me that data item is too big. My aim is to send a 136 bytes string to TX port in a single pr ... |
|