what is the problem?

General discussion on Visual GLCD Software.
Post Reply
Author
Message
epiclesis06
Posts: 5
Joined: 07 Jul 2011 16:20

what is the problem?

#1 Post by epiclesis06 » 08 Jul 2011 17:13

Hello everyone, I recently commented that I'm testing this new visual tool GLCD, I managed to create a very simple menu, but I have a problem. The idea is to receive data from the USART and display on the screen, but when you initialize the USART in the designated area for user code, the compiler shows error messages about the declaration of the USART and all its functions

I should do? greetings and thank you very much.

Code: Select all

//--------------------- User code ---------------------//
char DATO[29] ;
int i;

UART1_Init(19200);
for (i=29;i>=0;i--)                 //wait STRING - 29 BYTES
    {                                   //X1R+000000Y1R+000000Z1R+000000
    while (UART1_Data_Ready()==0);
    DATO[i]=UART1_Read();           //RECIBE DATO
    }
//----------------- End of User code ------------------//

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: what is the problem?

#2 Post by filip » 11 Jul 2011 09:36

Hi,

Which messages are being reported by the compiler ?
Have you included the UART library in the Library Manager ?

Regards,
Filip.

epiclesis06
Posts: 5
Joined: 07 Jul 2011 16:20

Re: what is the problem?

#3 Post by epiclesis06 » 11 Jul 2011 14:24

filip wrote:Hi,

Which messages are being reported by the compiler ?
Have you included the UART library in the Library Manager ?

Regards,
Filip.
hola! thank you very much for your response. which is the administrator of the bilbioteca?
greetings!

epiclesis06
Posts: 5
Joined: 07 Jul 2011 16:20

Re: what is the problem?

#4 Post by epiclesis06 » 11 Jul 2011 14:45

Hello! I commented that the UART in the library manager if he was selected, so I think it was a compiler error .... mikroC reinstall and everything worked properly. do not know what will have been the source of the problem.
Greetings and thank you very much for your time .-
German 8)

Post Reply

Return to “Visual GLCD General”