|
Re: Arrays on the PIC?
You can use arrays in addition to just about anything supported by ANSI C.
char myArray[2];
or
rom const char myArray[2] = {1, 2};
The size of the array is limited only by the amount of either program or data memory available. I believe the EEPROM is 1Mb. Check out the PIC18F8520 datasheet either from Microchip's site or through InnovationFIRST.
<edit>
I see that you said you already looked at the datasheet. Did you take a look at the guide for the C18 Compiler?
<edit>
__________________
Jeremy Roberts
GeorgiaFIRST Planning Committee | Peachtree Regional
Georgia Tech RoboJackets FIRST Co-Founder
Engineer/Mentor 4026
Former teams: 132, 608, 832, 1002, 1848
Last edited by Jeremy Roberts : 03-12-2004 at 21:41.
|