Undeclared identifier 'mikrobus_uartInit' for Ultrasonic2 Project

mikroC, mikroBasic and mikroPascal PRO for Microchip’s 8-bit PIC MCUs.
Post Reply
Author
Message
estian.malan
Posts: 2
Joined: 22 May 2011 11:12

Undeclared identifier 'mikrobus_uartInit' for Ultrasonic2 Project

#1 Post by estian.malan » 21 Sep 2021 07:55

Good day.

I have an problem with the Ultrasonic2 Click board project for EasyPIC v7 and PIC18 where the compiler is not recognizing the identifier 'mikrobus_uartInit' when compiling. Compiler is complaining about "Undeclared identifier 'mikrobus_uartInit' in expression Click_Ultrasonic2_PIC.c" The project is from the default package as downloaded from LibStock for the Ultrasonic2 click board, and I have not altered any code. I have included both the MikroSDK and Ultrasonic2 Libraries in the project as well as the project level define file.

Attached is a screen shot of the IDE showing the compiler errors and library inclusions. A second screen shot shows the Project search paths I also had to include.

What am I doing wrong?

Estian.
MikroC_IDE_Ultrasonic2.JPG
MikroC_IDE_Ultrasonic2.JPG (212.98 KiB) Viewed 1187 times
MikroC_IDE_Ultrasonic2_Search_Paths.JPG
MikroC_IDE_Ultrasonic2_Search_Paths.JPG (51.75 KiB) Viewed 1187 times

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

Re: Undeclared identifier 'mikrobus_uartInit' for Ultrasonic2 Project

#2 Post by filip » 24 Sep 2021 13:48

Hi,

Can you please uninstall and then reinstall the Ultrasonic 2 click package ?

Regards,
Filip.

Post Reply

Return to “PIC PRO Compilers”