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

Global variable error.

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Guest








Global variable error.
PostPosted: Mon Oct 12, 2009 3:28 am     Reply with quote

Hello.

When I try to declare the third global variable array with 11 elements the compiler no give any error but the printf function don't work.

Compiler version 4.003
Coding for a 16F628

Code:
// Tablas RAM con los valores de las RPM x 100 para los diferentes puntos.
int Tabla_RPM[PUNTOS_RPM];
int Tabla_Angulos[PUNTOS_RPM];
// Tablas RAM con los puntos de corrección.
int Tabla_Correccion_PickUp[10]; -> When I try to add one more (11) the code crash.
//int Tabla_Correccion_Temperatura[5]; -> When I add this the code in printf function crash

// Variables globales.
int1  Motor_Parado, Ignition_ON;   // Módulos activos.
int16 RPM=0;                                 // Revoluciones exactas del motor.
int32 Periodo_RPM, Retardo_Encendido;        /* Periodo por RPM medido en
                                                 unidades de 8e-6 Segundos.
                                                Retardo de encendido calculado
                                                en uS*/
int Auxiliar, Vueltas, Error;
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

Re: Global variable error.
PostPosted: Mon Oct 12, 2009 7:49 am     Reply with quote

Anonymous wrote:
Compiler version 4.003
This is a very old, non-working, compiler version and should never have been released. The v4 compilers became usable around v4.060. see also the sticky thread on top of this forum. Save everybody a lot of time and upgrade to a recent version (current is v4.099, 96 releases newer than your version...)
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group