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 7 matches
CCS Forum Index
Author Message
  Topic: Problem with Arrays
SimpleGuy

Replies: 4
Views: 6011

PostForum: General CCS C Discussion   Posted: Thu Apr 02, 2009 1:19 pm   Subject: Problem with Arrays
refining my problem. I start going step by step. I run into the problem when i use a 16bit array. My input doesn't match my output.


#include <prototype.h>

void Main()
{
unsigned int ...
  Topic: Problem with Arrays
SimpleGuy

Replies: 4
Views: 6011

PostForum: General CCS C Discussion   Posted: Thu Apr 02, 2009 11:01 am   Subject: Problem with Arrays
Hi All,

I have 2 loops in my code. One loop that fills an array, the other loop prints it out. See code below. If I take out the array and output the numbers as I get them, I get the data I expect; ...
  Topic: A little help with printf()
SimpleGuy

Replies: 2
Views: 3581

PostForum: General CCS C Discussion   Posted: Wed Apr 01, 2009 7:43 am   Subject: A little help with printf()
thank you i am all set now.
  Topic: A little help with printf()
SimpleGuy

Replies: 2
Views: 3581

PostForum: General CCS C Discussion   Posted: Wed Apr 01, 2009 6:55 am   Subject: A little help with printf()
Hi all,

I am trying to output to the serial port a word (2bybte) with out any formatting. So if I have a variable with 64(dec) when I send it out to hyper terminal I will get nul@(ascii)

nul=0
...
  Topic: Newbie Programming and Layout Questions
SimpleGuy

Replies: 2
Views: 3084

PostForum: General CCS C Discussion   Posted: Fri Dec 19, 2008 11:29 am   Subject: Newbie Programming and Layout Questions
When I make my board, what is the best way to program the PIC? Have a port for my ICD-U40 like the demo board. Or is there a way to do it over the USB port, as I am putting on my board as well.

If ...
  Topic: POW(10,1) = 9?
SimpleGuy

Replies: 6
Views: 8449

PostForum: General CCS C Discussion   Posted: Tue Dec 16, 2008 2:28 pm   Subject: POW(10,1) = 9?
My Code
#include <prototype.h>
#include <math.h>


void main()

{
unsigned int8 A;
int8 B;
float c;
while(true)
{
A=pow(10,1);
B=pow(10, ...
  Topic: POW(10,1) = 9?
SimpleGuy

Replies: 6
Views: 8449

PostForum: General CCS C Discussion   Posted: Tue Dec 16, 2008 8:53 am   Subject: POW(10,1) = 9?
When I Run POW(10,1) I get 9.

WHY? and can I do anything about it?

IDE ver 4.077
PCM ver 4.013
PCD ver 4.077
DsPIC30F4012

Is this just a known problem that I don't know?
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group