Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Is it possible to create an array of 1000 elements(16bit) in CCSC?

Status
Not open for further replies.

creative_35

Full Member level 1
Joined
Apr 10, 2006
Messages
95
Helped
9
Reputation
18
Reaction score
3
Trophy points
1,288
Location
Under Mango Tree
Activity points
2,032
Hi friends,
Is it possible to create an array of 1000 elements(16bit) in CCSC?
I have created an array and while simulating in mplab after 127th element it's returning to 0th element. all the variables and array elements defined as 'int16'
any idea?
 

Re: 16bit DATA TABLE

If CCSC has a limit on the number of array elements, perhaps you could use a two dimentional array.

something like
int16 mybuffer[10][100];

#define getValue(x) (mybuffer[x/100][x%100])
 
Re: 16bit DATA TABLE

Thankyou verymuch,
solved the issue.
reading program memory is easier than using array.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top