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 4 matches
CCS Forum Index
Author Message
  Topic: Filling an array without loops
yadobaka

Replies: 5
Views: 5916

PostForum: General CCS C Discussion   Posted: Mon Mar 12, 2007 11:54 pm   Subject: Filling an array without loops
Thanks guys. memcpy worked great. What I ended up doing was declaring the all the data arrays, and then i declared one more empty array the same size as the data arrays. I then used memcpy as you guys ...
  Topic: Filling an array without loops
yadobaka

Replies: 5
Views: 5916

PostForum: General CCS C Discussion   Posted: Mon Mar 12, 2007 5:09 pm   Subject: Filling an array without loops
Hello. I was wondering if anyone knows a way I can fill an array multiple times without looping through all of the elements.

Basically, what I would like to do is this:

int8 mode_data[8] ...
  Topic: Delay is consistently slightly off. There must be a reason
yadobaka

Replies: 3
Views: 4926

PostForum: General CCS C Discussion   Posted: Tue Feb 27, 2007 4:10 pm   Subject: Delay is consistently slightly off. There must be a reason
Thank you for the quick reply. Maybe the 200 ns/instruction I read was for the max clock speed. Also, I am unsure why I use 4 MHz for

#USE delay(clock=4000000,int=4000000)

The max clock ...
  Topic: Delay is consistently slightly off. There must be a reason
yadobaka

Replies: 3
Views: 4926

PostForum: General CCS C Discussion   Posted: Tue Feb 27, 2007 4:00 pm   Subject: Delay is consistently slightly off. There must be a reason
Hello all, this is my first post here!

I'm creating an electronic instrument using the PIC16F916 and square waves. Essentially it will output quasi-randomized notes in a user-selected key. I can't ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group