I have some problems with the function Printf. I include the library <stdio.h> in my file main.c. The idea of my code is to turn on and off a green led. When I debug my code, I want to see on comsole the word: Green.
Here my code:
#include "S32K144.h" /* include peripheral declarations S32K144 */
PCC->PCCn[PCC_PORTD_INDEX] = 0x40000000;
PORTD->PCR = 0x00000100;
PTD->PDDR = 0x00008000; /*output*/
PTD->PDOR = 0;
PTD->PDOR = 0x00008000;
Excuse me for the trivial question, but I'm a begginer with the embedded system.
I hope that someone could help me.
Thanks for your availability