lpcware

Printing the text

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by sandy29 on Thu Jan 16 02:07:17 MST 2014
Hai friends,
                 I need to print some of the texts in Blinky program. how can i do it?

I tried like this: I wrote a seperate function as print.c
#include <stdio.h>

int sss()
{
   printf ("Hello NXP %d \n", 812 );
 
   return 0;
}


After that i called the sss function inside the main of blinky program and also i added print.c inside my project.

But in console i am not getting any errors but in problems tab i am getting error
DescriptionResourcePathLocationType
make: *** [Blinky.axf] Error 1 C/C++ Problem


Is it possible to do like this or is there any other method to print the texts inside the blinky program or any other way.
Please suggest me to do :)

Thankyou

Outcomes