View Single Post
  #2   Spotlight this post!  
Unread 03-12-2004, 21:37
Jeremy Roberts's Avatar
Jeremy Roberts Jeremy Roberts is offline
Coach 4026
FRC #4026 (Global Dynamics)
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1997
Location: Atlanta, Georgia
Posts: 229
Jeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant future
Send a message via AIM to Jeremy Roberts
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.